summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-12 14:52:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-12 15:08:29 +0100
commitfc0a23e52df27cebb156bc6a128e8b0ce272cfd8 (patch)
tree259fddf4357cbc09fd434c9511342231d20d4060 /svl
parentd75dd80abb28cdb126a12840597d0384dd43897e (diff)
constify these methods
Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
Diffstat (limited to 'svl')
-rw-r--r--svl/source/config/languageoptions.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index 2124b8fba921..a095ac5b731e 100644
--- a/svl/source/config/languageoptions.cxx
+++ b/svl/source/config/languageoptions.cxx
@@ -200,16 +200,14 @@ void SvtSystemLanguageOptions::Notify( const com::sun::star::uno::Sequence< O
// no listeners supported yet
}
-
-LanguageType SvtSystemLanguageOptions::GetWin16SystemLanguage()
+LanguageType SvtSystemLanguageOptions::GetWin16SystemLanguage() const
{
if( m_sWin16SystemLocale.isEmpty() )
return LANGUAGE_NONE;
return LanguageTag( m_sWin16SystemLocale ).getLanguageType();
}
-
-bool SvtSystemLanguageOptions::isKeyboardLayoutTypeInstalled(sal_Int16 scriptType)
+bool SvtSystemLanguageOptions::isKeyboardLayoutTypeInstalled(sal_Int16 scriptType) const
{
bool isInstalled = false;
#ifdef WNT
@@ -241,13 +239,13 @@ bool SvtSystemLanguageOptions::isKeyboardLayoutTypeInstalled(sal_Int16 scriptTyp
}
-bool SvtSystemLanguageOptions::isCTLKeyboardLayoutInstalled()
+bool SvtSystemLanguageOptions::isCTLKeyboardLayoutInstalled() const
{
return isKeyboardLayoutTypeInstalled(::com::sun::star::i18n::ScriptType::COMPLEX);
}
-bool SvtSystemLanguageOptions::isCJKKeyboardLayoutInstalled()
+bool SvtSystemLanguageOptions::isCJKKeyboardLayoutInstalled() const
{
return isKeyboardLayoutTypeInstalled(::com::sun::star::i18n::ScriptType::ASIAN);
}