diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:22 +0900 |
commit | 3b66617d9d5f343c30a87381720db2fc835ce52b (patch) | |
tree | 4e867b86067b1d98145ebf942b421843a1e28f26 /libkmime | |
parent | d3aa578340c0d8e9ef17abb208ae0e4cae4b22dc (diff) | |
download | tdepim-3b66617d9d5f343c30a87381720db2fc835ce52b.tar.gz tdepim-3b66617d9d5f343c30a87381720db2fc835ce52b.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkmime')
-rw-r--r-- | libkmime/kmime_header_parsing.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkmime/kmime_header_parsing.cpp b/libkmime/kmime_header_parsing.cpp index 1e9007028..aa3d29b79 100644 --- a/libkmime/kmime_header_parsing.cpp +++ b/libkmime/kmime_header_parsing.cpp @@ -1104,7 +1104,7 @@ bool parseParameter( const char* & scursor, const char * const send, "Chopping away \"*\"." << endl; maybeAttribute.truncate( maybeAttribute.length() - 1 ); } - result = tqMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); + result = qMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); return true; } @@ -1128,19 +1128,19 @@ bool parseParameter( const char* & scursor, const char * const send, if ( !parseGenericQuotedString( scursor, send, maybeValue.qstring, isCRLF ) ) { scursor = oldscursor; - result = tqMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); + result = qMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); return false; // this case needs further processing by upper layers!! } } else { // value is a token: if ( !parseToken( scursor, send, maybeValue.qpair, false /* no 8bit */ ) ) { scursor = oldscursor; - result = tqMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); + result = qMakePair( maybeAttribute.lower(), TQStringOrTQPair() ); return false; // this case needs further processing by upper layers!! } } - result = tqMakePair( maybeAttribute.lower(), maybeValue ); + result = qMakePair( maybeAttribute.lower(), maybeValue ); return true; } |