diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-12 14:52:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-12 15:08:29 +0100 |
commit | fc0a23e52df27cebb156bc6a128e8b0ce272cfd8 (patch) | |
tree | 259fddf4357cbc09fd434c9511342231d20d4060 /svl/source/config/languageoptions.cxx | |
parent | d75dd80abb28cdb126a12840597d0384dd43897e (diff) |
constify these methods
Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
Diffstat (limited to 'svl/source/config/languageoptions.cxx')
-rw-r--r-- | svl/source/config/languageoptions.cxx | 10 |
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); } |