summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoGlobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoGlobal.cpp')
-rw-r--r--lib/kofficecore/KoGlobal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp
index 578687465..8ba1c0777 100644
--- a/lib/kofficecore/KoGlobal.cpp
+++ b/lib/kofficecore/KoGlobal.cpp
@@ -142,12 +142,12 @@ void KoGlobal::createListOfLanguages()
{
// Extract the language tag from the directory name
TQString tag = *it;
- int index = tag.tqfindRev('/');
+ int index = tag.findRev('/');
tag = tag.left(index);
- index = tag.tqfindRev('/');
+ index = tag.findRev('/');
tag = tag.mid(index+1);
- if ( seenLanguages.tqfind( tag ) == seenLanguages.end() ) {
+ if ( seenLanguages.find( tag ) == seenLanguages.end() ) {
KSimpleConfig entry(*it);
entry.setGroup("KCM Locale");
@@ -169,7 +169,7 @@ void KoGlobal::createListOfLanguages()
TQString KoGlobal::tagOfLanguage( const TQString & _lang)
{
const LanguageMap& map = self()->m_langMap;
- TQMap<TQString,TQString>::ConstIterator it = map.tqfind( _lang );
+ TQMap<TQString,TQString>::ConstIterator it = map.find( _lang );
if ( it != map.end() )
return *it;
return TQString();