add: assert(mMsgBase);
context:   QString text( int col) const  {    KMHeaders *headers = static_cast<KMHeaders*>(listView());    KMMsgBase *mMsgBase = headers->folder()->getMsgBase( mMsgId );    QString tmp;    if(col == headers->paintInfo()->flagCol) {      if (headers->paintInfo()->flagCol >= 0)	tmp = QString( QChar( (char)mMsgBase->status() ));    } else if(col == headers->paintInfo()->senderCol) {      if (headers->folder()->whoField().lower() == "to")        tmp = mMsgBase->toStrip();      else        tmp = mMsgBase->fromStrip();      if (tmp.isEmpty())        tmp = i18n("Unknown");      else        tmp = tmp.simplifyWhiteSpace();    } else if(col == headers->paintInfo()->subCol) {      tmp = mMsgBase->subject();      if (tmp.isEmpty())	tmp = i18n("No Subject");      else	tmp = tmp.simplifyWhiteSpace();    } else if(col == headers->paintInfo()->dateCol) {	tmp = headers->mDate.dateString( mMsgBase->date() );    } else if(col == headers->paintInfo()->sizeCol      && headers->paintInfo()->showSize) {        if ( mMsgBase->parent()->folderType() == KMFolderTypeImap )        {          QCString cstr;          headers->folder()->getMsgString(mMsgId, cstr);          int a = cstr.find("\nX-Length: ");	  if(a != -1) {	      int b = cstr.find('\n', a+11);	      tmp = KIO::convertSize(cstr.mid(a+11, b-a-11).toULong());          }        } else tmp = KIO::convertSize(mMsgBase->msgSize());    }    return tmp;  }