diff options
Diffstat (limited to 'src/translators/grs1importer.cpp')
-rw-r--r-- | src/translators/grs1importer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/translators/grs1importer.cpp b/src/translators/grs1importer.cpp index 6b6c8d2..30c9a69 100644 --- a/src/translators/grs1importer.cpp +++ b/src/translators/grs1importer.cpp @@ -105,9 +105,9 @@ Tellico::Data::CollPtr GRS1Importer::collection() { if(field == Latin1Literal("title")) { val = val.section('/', 0, 0).stripWhiteSpace(); // only take portion of title before slash } else if(field == Latin1Literal("author")) { - val.tqreplace(dateRx, TQString()); + val.replace(dateRx, TQString()); } else if(field == Latin1Literal("publisher")) { - int pos = val.tqfind(pubRx); + int pos = val.find(pubRx); if(pos > -1) { e->setField(TQString::tqfromLatin1("address"), pubRx.cap(1)); val = pubRx.cap(2); |