diff --git a/kmreaderwin.cpp b/kmreaderwin.cpp index f7d5a603f..0e223bc37 100644 --- a/kmreaderwin.cpp +++ b/kmreaderwin.cpp @@ -52,7 +52,6 @@ using KMail::ISubject; using KMail::URLHandlerManager; #include "interfaces/observable.h" #include "util.h" -using KMail::Util; #include "broadcaststatus.h" @@ -857,7 +856,7 @@ void KMReaderWin::update( KMail::Interface::Observable * observable ) QByteArray data = node->msgPart().bodyDecodedBinary(); size_t size = data.size(); if ( node->msgPart().type() == DwMime::kTypeText && size) { - size = Util::crlf2lf( data.data(), size ); + size = KMail::Util::crlf2lf( data.data(), size ); } KPIM::kBytesToFile( data.data(), size, mAtmCurrentName, false, false, false ); ::chmod( QFile::encodeName( mAtmCurrentName ), S_IRUSR ); @@ -1669,7 +1668,7 @@ QString KMReaderWin::writeMessagePartToTempFile( KMMessagePart* aMsgPart, size_t size = data.size(); if ( aMsgPart->type() == DwMime::kTypeText && size) { // convert CRLF to LF before writing text attachments to disk - size = Util::crlf2lf( data.data(), size ); + size = KMail::Util::crlf2lf( data.data(), size ); } if( !KPIM::kBytesToFile( data.data(), size, fname, false, false, false ) ) return QString::null;