summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoPictureShared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoPictureShared.cpp')
-rw-r--r--lib/kofficecore/KoPictureShared.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoPictureShared.cpp b/lib/kofficecore/KoPictureShared.cpp
index 16fea2efb..6bc69345c 100644
--- a/lib/kofficecore/KoPictureShared.cpp
+++ b/lib/kofficecore/KoPictureShared.cpp
@@ -299,7 +299,7 @@ bool KoPictureShared::loadXpm(TQIODevice* io)
int pos=0;
- while ((pos=array.tqfind(char(1),pos))!=-1)
+ while ((pos=array.find(char(1),pos))!=-1)
{
array[pos]='"';
}
@@ -436,7 +436,7 @@ bool KoPictureShared::loadFromFile(const TQString& fileName)
return false;
bool flag = false;
- const int pos=fileName.tqfindRev('.');
+ const int pos=fileName.findRev('.');
if (pos==-1)
{
kdDebug(30003) << "File with no extension!" << endl;