summaryrefslogtreecommitdiffstats
path: root/kbabel/addons/preview/pothumbcreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/addons/preview/pothumbcreator.cpp')
-rw-r--r--kbabel/addons/preview/pothumbcreator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/addons/preview/pothumbcreator.cpp b/kbabel/addons/preview/pothumbcreator.cpp
index 87eb5dbf..22f6fb5e 100644
--- a/kbabel/addons/preview/pothumbcreator.cpp
+++ b/kbabel/addons/preview/pothumbcreator.cpp
@@ -207,7 +207,7 @@ bool PoThumbCreator::create(const TQString &path, int width, int height, TQImage
if(!poInfo.encoding.isEmpty())
text += poInfo.encoding+'\n';
- int lines = text.tqcontains('\n')+1;
+ int lines = text.contains('\n')+1;
if(lines < numLines)
{
text = poInfo.headerComment+'\n'+text;
@@ -286,7 +286,7 @@ bool PoThumbCreator::create(const TQString &path, int width, int height, TQImage
// physical newline in the file if we don't come from one
if ( !newLine )
{
- int pos = text.tqfind( '\n', i );
+ int pos = text.find( '\n', i );
if ( pos > (int) i )
i = pos +1;
}