diff options
Diffstat (limited to 'kbabel/datatools/equations')
-rw-r--r-- | kbabel/datatools/equations/main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/datatools/equations/main.cc b/kbabel/datatools/equations/main.cc index 96cb3057..cb1e1f7b 100644 --- a/kbabel/datatools/equations/main.cc +++ b/kbabel/datatools/equations/main.cc @@ -86,12 +86,12 @@ bool EquationsTool::run( const TQString& command, void* data, const TQString& da bool hasError = false; - if(!item->isUntranslated() && !item->msgid().first().tqcontains('\n') - && item->msgid().first().tqcontains(_equation)) + if(!item->isUntranslated() && !item->msgid().first().contains('\n') + && item->msgid().first().contains(_equation)) { - int index = item->msgid().first().tqfind('='); + int index = item->msgid().first().find('='); TQString left = item->msgid().first().left(index); - index = item->msgstr().first().tqfind('='); + index = item->msgstr().first().find('='); if(left != item->msgstr().first().left(index)) hasError = true; } |