Fix crash on broken messages which have "Content-type: text" (no subtype). In this case, subtype in BodyPartFormatter::createFor() was empty, so createFor() returned 0, unexpectedly for objecttreeparser on a text/* type, hitting a kdFatal(). CCMAIL: till@adam-lilienthal.de
Fix crash on broken messages which have
"Content-type: text"
(no subtype). In this case, subtype in BodyPartFormatter::createFor() was
empty, so createFor() returned 0, unexpectedly for objecttreeparser on a
text/* type, hitting a kdFatal().
CCMAIL: till@adam-lilienthal.de

svn path=/trunk/kdepim/; revision=252773

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi