diff --git a/kmmsgpart.cpp b/kmmsgpart.cpp index 5be88d38e..8b74892b1 100644 --- a/kmmsgpart.cpp +++ b/kmmsgpart.cpp @@ -300,11 +300,11 @@ QCString KMMessagePart::bodyDecoded(void) const break; } } - result = result.replace( "\r\n", "\n" ); // CRLF -> LF conversion - kdWarning( result.length() != (unsigned int)len, 5006 ) << "KMMessagePart::bodyDecoded(): body is binary but used as text!" << endl; + result = result.replace( "\r\n", "\n" ); // CRLF -> LF conversion + assert( mBodyDecodedSize < 0 || mBodyDecodedSize == len ); if ( mBodyDecodedSize < 0 ) mBodyDecodedSize = len; // cache decoded size