diff options
Diffstat (limited to 'src/translators/bibtexexporter.cpp')
-rw-r--r-- | src/translators/bibtexexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/translators/bibtexexporter.cpp b/src/translators/bibtexexporter.cpp index 867dda3..d51e061 100644 --- a/src/translators/bibtexexporter.cpp +++ b/src/translators/bibtexexporter.cpp @@ -287,11 +287,11 @@ void BibtexExporter::writeEntryText(TQString& text_, const Data::FieldVec& field // insert "and" in between them (e.g. author and editor) if(fIt->formatFlag() == Data::Field::FormatName && fIt->flags() & Data::Field::AllowMultiple) { - value.tqreplace(Data::Field::delimiter(), TQString::tqfromLatin1(" and ")); + value.replace(Data::Field::delimiter(), TQString::tqfromLatin1(" and ")); } else if(fIt->flags() & Data::Field::AllowMultiple) { TQString bibsep = fIt->property(bibtexSep); if(!bibsep.isEmpty()) { - value.tqreplace(Data::Field::delimiter(), bibsep); + value.replace(Data::Field::delimiter(), bibsep); } } else if(fIt->type() == Data::Field::Para) { // strip HTML from bibtex export @@ -301,7 +301,7 @@ void BibtexExporter::writeEntryText(TQString& text_, const Data::FieldVec& field } else if(fIt->property(bibtex) == Latin1Literal("pages")) { TQRegExp rx(TQString::tqfromLatin1("(\\d)-(\\d)")); for(int pos = rx.search(value); pos > -1; pos = rx.search(value, pos+2)) { - value.tqreplace(pos, 3, rx.cap(1)+"--"+rx.cap(2)); + value.replace(pos, 3, rx.cap(1)+"--"+rx.cap(2)); } } |