summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-12-10 18:36:58 +0100
committerMathias Bauer <mba@openoffice.org>2009-12-10 18:36:58 +0100
commitcce4c0607de1a4b63728812500c20c4b099c8214 (patch)
tree1e82ef5a79aee70fcf33082164d0aece1baaf157 /cui/source
parent69ea879c3dceb464f3d01ae3ecbd178bd77de96a (diff)
#i107450#: move GetLanguageString to class SvtLanguageTable
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 0e69585a4ff4..a583a708c8b0 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -73,6 +73,7 @@
#include <dialmgr.hxx>
#include <svx/svxerr.hxx>
#include "treeopt.hxx"
+#include <svtools/langtab.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -927,7 +928,7 @@ void SpellDialog::SetTitle_Impl(LanguageType nLang)
sTitle = m_sTitleSpellingGrammar;
}
}
- sTitle.SearchAndReplaceAscii( "$LANGUAGE ($LOCATION)", ::GetLanguageString(nLang) );
+ sTitle.SearchAndReplaceAscii( "$LANGUAGE ($LOCATION)", SvtLanguageTable::GetLanguageString(nLang) );
SetText( sTitle );
}
/*-------------------------------------------------------------------------