Remove some debugging code introduced by Bug #366016

This commit is contained in:
scott%scott-macgregor.org 2007-01-09 19:30:48 +00:00
Родитель b7e716f6ae
Коммит 43b9c06770
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -5413,11 +5413,6 @@ nsresult nsMsgDBFolder::GetMsgPreviewTextFromStream(nsIMsgDBHdr *msgHdr, nsIInpu
{ {
nsCString msgBody; nsCString msgBody;
nsresult rv = GetMsgTextFromStream(msgHdr, stream, 2048, 255, PR_TRUE, msgBody); nsresult rv = GetMsgTextFromStream(msgHdr, stream, 2048, 255, PR_TRUE, msgBody);
// for grins, see if we already have a property
nsXPIDLCString previewProp;
msgHdr->GetStringProperty("preview", getter_Copies(previewProp));
// replaces all tabs and line returns with a space, then trims off leading and trailing white space // replaces all tabs and line returns with a space, then trims off leading and trailing white space
msgBody.CompressWhitespace(PR_TRUE, PR_TRUE); msgBody.CompressWhitespace(PR_TRUE, PR_TRUE);
msgHdr->SetStringProperty("preview", msgBody.get()); msgHdr->SetStringProperty("preview", msgBody.get());