summaryrefslogtreecommitdiffstats
path: root/kabc/ldif.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kabc/ldif.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/ldif.cpp')
-rw-r--r--kabc/ldif.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kabc/ldif.cpp b/kabc/ldif.cpp
index 2b8f4164c..19895fce5 100644
--- a/kabc/ldif.cpp
+++ b/kabc/ldif.cpp
@@ -112,9 +112,9 @@ bool LDIF::splitLine( const TQCString &line, TQString &fieldname, TQByteArray &v
// kdDebug(5700) << "splitLine line: " << TQString::fromUtf8(line) << endl;
- position = line.tqfind( ":" );
+ position = line.find( ":" );
if ( position == -1 ) {
- // strange: we did not tqfind a fieldname
+ // strange: we did not find a fieldname
fieldname = "";
TQCString str;
str = line.stripWhiteSpace();
@@ -259,7 +259,7 @@ LDIF::ParseVal LDIF::processLine()
retval = EndEntry;
} else if ( attrLower == "add" ) {
mModType = Mod_Add;
- } else if ( attrLower == "tqreplace" ) {
+ } else if ( attrLower == "replace" ) {
mModType = Mod_Replace;
mAttr = TQString::fromUtf8( mVal, mVal.size() );
mVal.resize( 0 );