diff options
Diffstat (limited to 'kmail/kmmessage.cpp')
-rw-r--r-- | kmail/kmmessage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp index 04af3d65b..e44d253bb 100644 --- a/kmail/kmmessage.cpp +++ b/kmail/kmmessage.cpp @@ -2367,11 +2367,11 @@ void KMMessage::setHeaderField( const TQCString& aName, const TQString& bValue, kdDebug(5006) << "aValue: \"" << aValue << "\"" << endl; #endif } - str = TQString(aName); + str = aName.data(); if (str[str.length()-1] != ':') str += ": "; else str += ' '; if ( !aValue.isEmpty() ) - str += TQString(aValue); + str += aValue.data(); if (str[str.length()-1] != '\n') str += '\n'; field = new DwField(str, mMsg); @@ -3261,8 +3261,8 @@ DwBodyPart* KMMessage::createDWBodyPart(const KMMessagePart* aPart) iM = parAV.tqfind('='); if( -1 < iM ) { - parA = TQString(parAV.left( iM )); - parV = TQString(parAV.right( parAV.length() - iM - 1 )); + parA = parAV.left( iM ).data(); + parV = parAV.right( parAV.length() - iM - 1 ).data(); if( ('"' == parV.at(0)) && ('"' == parV.at(parV.length()-1)) ) { parV.erase( 0, 1); @@ -3271,7 +3271,7 @@ DwBodyPart* KMMessage::createDWBodyPart(const KMMessagePart* aPart) } else { - parA = TQString(parAV); + parA = parAV.data(); parV = ""; } DwParameter *param; |