diff options
Diffstat (limited to 'libemailfunctions/idmapper.cpp')
-rw-r--r-- | libemailfunctions/idmapper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libemailfunctions/idmapper.cpp b/libemailfunctions/idmapper.cpp index 089aa9221..d90ad8171 100644 --- a/libemailfunctions/idmapper.cpp +++ b/libemailfunctions/idmapper.cpp @@ -134,12 +134,12 @@ void IdMapper::removeRemoteId( const TQString &remoteId ) TQString IdMapper::remoteId( const TQString &localId ) const { TQMap<TQString, TQVariant>::ConstIterator it; - it = mIdMap.find( localId ); + it = mIdMap.tqfind( localId ); if ( it != mIdMap.end() ) return it.data().toString(); else - return TQString::null; + return TQString(); } TQString IdMapper::localId( const TQString &remoteId ) const @@ -149,7 +149,7 @@ TQString IdMapper::localId( const TQString &remoteId ) const if ( it.data().toString() == remoteId ) return it.key(); - return TQString::null; + return TQString(); } TQString IdMapper::asString() const @@ -177,7 +177,7 @@ const TQString& IdMapper::fingerprint( const TQString &localId ) const if ( mFingerprintMap.tqcontains( localId ) ) return mFingerprintMap[ localId ]; else - return TQString::null; + return TQString(); } TQMap<TQString, TQString> IdMapper::remoteIdMap() const |