diff options
Diffstat (limited to 'src/translators/gcfilmsimporter.cpp')
-rw-r--r-- | src/translators/gcfilmsimporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/translators/gcfilmsimporter.cpp b/src/translators/gcfilmsimporter.cpp index 5b66691..027a233 100644 --- a/src/translators/gcfilmsimporter.cpp +++ b/src/translators/gcfilmsimporter.cpp @@ -59,7 +59,7 @@ Tellico::Data::CollPtr GCfilmsImporter::collection() { readGCfilms(str); } else { // need to reparse the string if it's in utf-8 - if(line.lower().tqfind(TQString::tqfromLatin1("utf-8")) > 0) { + if(line.lower().find(TQString::tqfromLatin1("utf-8")) > 0) { str = TQString::fromUtf8(str.local8Bit()); } readGCstar(str); @@ -114,7 +114,7 @@ void GCfilmsImporter::readGCfilms(const TQString& text_) { if(values.size() > 2 && values[2] == Latin1Literal("UTF8")) { // if locale encoding isn't utf8, need to do a reconversion TQTextCodec* codec = TQTextCodec::codecForLocale(); - if(TQCString(codec->name()).tqfind("utf-8", 0, false) == -1) { + if(TQCString(codec->name()).find("utf-8", 0, false) == -1) { convertUTF8 = true; } } |