diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-23 14:05:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-23 14:05:46 -0600 |
commit | ad927605184a7c4d6c79135b0b6743162b390459 (patch) | |
tree | e79ce10125a2d196a04846da378940725c516244 /lib | |
parent | cd9522f99727a9686480a117b40f2de45bd4069d (diff) | |
download | koffice-ad927605184a7c4d6c79135b0b6743162b390459.tar.gz koffice-ad927605184a7c4d6c79135b0b6743162b390459.zip |
Fix FTBFS
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kotext/KoAutoFormat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoAutoFormat.cpp b/lib/kotext/KoAutoFormat.cpp index b3d0c7aa..8205b6d2 100644 --- a/lib/kotext/KoAutoFormat.cpp +++ b/lib/kotext/KoAutoFormat.cpp @@ -166,7 +166,7 @@ KoAutoFormat::KoAutoFormat( KoDocument *_doc, KoVariableCollection *_varCollecti loadListOfWordCompletion(); m_listCompletion->setIgnoreCase( true ); updateMaxWords(); - TDELocale klocale(m_doc->instance()->instanceName()); + TDELocale tdelocale(m_doc->instance()->instanceName()); for (int i = 1; i <=7; i++) { m_cacheNameOfDays.append(tdelocale.calendar()->weekDayName( i ).lower()); @@ -391,7 +391,7 @@ void KoAutoFormat::readConfig(bool force) void KoAutoFormat::readAutoCorrectConfig() { Q_ASSERT( m_entries.isEmpty() ); // readConfig is only called once... - TDELocale klocale(m_doc->instance()->instanceName()); + TDELocale tdelocale(m_doc->instance()->instanceName()); TQString kdelang = tdelocale.languageList().front(); kdelang.remove( TQRegExp( "@.*" ) ); kdDebug(32500) << "KoAutoFormat: m_autoFormatLanguage=" << m_autoFormatLanguage << " kdelang=" << kdelang << endl; @@ -616,7 +616,7 @@ void KoAutoFormat::loadEntry( const TQDomElement &nl, bool _allLanguages) void KoAutoFormat::saveConfig() { TDEConfig* config = KoGlobal::kofficeConfig(); - TDELocale klocale(m_doc->instance()->instanceName()); + TDELocale tdelocale(m_doc->instance()->instanceName()); TDEConfigGroupSaver cgs( config, "AutoFormat" ); config->writeEntry( "ConvertUpperCase", m_convertUpperCase ); |