summaryrefslogtreecommitdiffstats
path: root/src/kile/plaintolatexconverter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/plaintolatexconverter.cpp')
-rw-r--r--src/kile/plaintolatexconverter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/plaintolatexconverter.cpp b/src/kile/plaintolatexconverter.cpp
index 489438b..e5d6c9c 100644
--- a/src/kile/plaintolatexconverter.cpp
+++ b/src/kile/plaintolatexconverter.cpp
@@ -49,10 +49,10 @@ TQString PlainToLaTeXConverter::ConvertToLaTeX(const TQString& toConv) const
TQMapConstIterator<TQChar, TQString> mapEnd = m_replaceMap.end();
for(uint i = 0 ; i < sSize ; ++i)
{
- TQMapConstIterator<TQChar, TQString> it = m_replaceMap.tqfind(result.at(i));
+ TQMapConstIterator<TQChar, TQString> it = m_replaceMap.find(result.at(i));
if(it != mapEnd) { // The character must be replaced
- result.tqreplace(i, 1, *it);
+ result.replace(i, 1, *it);
uint len = (*it).length();
if(1 < len) {
i += len - 1;