summaryrefslogtreecommitdiffstats
path: root/kbabel/datatools/punctuation/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/datatools/punctuation/main.cc')
-rw-r--r--kbabel/datatools/punctuation/main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/datatools/punctuation/main.cc b/kbabel/datatools/punctuation/main.cc
index 42b2f2eb..3b2bc35e 100644
--- a/kbabel/datatools/punctuation/main.cc
+++ b/kbabel/datatools/punctuation/main.cc
@@ -92,7 +92,7 @@ bool PunctuationTool::run( const TQString& command, void* data, const TQString&
// lookup punctuation in original text
TQRegExp punc("[\\.!\\?:]+$");
- int i = lineid.tqfind(punc);
+ int i = lineid.find(punc);
TQString t("");
@@ -102,7 +102,7 @@ bool PunctuationTool::run( const TQString& command, void* data, const TQString&
{
// check, that both plural forms contain the same punctuation
TQString pl = *(item->msgid().at(1));
- int j = pl.tqfind(punc);
+ int j = pl.find(punc);
TQString tp("");
if( j != -1 ) tp = pl.right(pl.length()-j);
@@ -122,7 +122,7 @@ bool PunctuationTool::run( const TQString& command, void* data, const TQString&
{
TQString linestr=(*form);
- int j = linestr.tqfind(punc);
+ int j = linestr.find(punc);
// there is no punctuation in original, but one in the translation
if( i == -1 && j != i )