diff options
author | Till Adam <[email protected]> | 2008-01-14 22:53:45 +0000 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-04-23 22:44:50 +0900 |
commit | b07b3401ab3167d0d83078ce52705e5aa49c9776 (patch) | |
tree | 80a81fde5db9e9ffdf8c9a54e443c7d576a81aeb /tdeioslave/imap4/mailaddress.cc | |
parent | fcd267d0363d26be78a5652da81cb470d0a9fc46 (diff) | |
download | tdepim-b07b3401ab3167d0d83078ce52705e5aa49c9776.tar.gz tdepim-b07b3401ab3167d0d83078ce52705e5aa49c9776.zip |
Make getStr const correct.
Cherry-picked from: 925d1f70010bc111ad9f4a3e910d689aa4e27181
Signed-off-by: Luke Dashjr <[email protected]>
Diffstat (limited to 'tdeioslave/imap4/mailaddress.cc')
-rw-r--r-- | tdeioslave/imap4/mailaddress.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tdeioslave/imap4/mailaddress.cc b/tdeioslave/imap4/mailaddress.cc index 866484584..915a3bbbe 100644 --- a/tdeioslave/imap4/mailaddress.cc +++ b/tdeioslave/imap4/mailaddress.cc @@ -197,14 +197,15 @@ mailAddress::parseAddress (char *aCStr) } const TQCString -mailAddress::getStr () +mailAddress::getStr () const { TQCString retVal(128); // Should be generally big enough if (!rawFullName.isEmpty ()) { - KMime::addQuotes( rawFullName, false ); - retVal = rawFullName + " "; + TQCString tmpName( rawFullName ); + KMime::addQuotes( tmpName, false ); + retVal = tmpName + " "; } if (!user.isEmpty ()) { |