diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 13:20:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 13:20:04 +0000 |
commit | 43bcf92b04c0a99fece8cfd1c0c8133575ae78ba (patch) | |
tree | c60ad53221e2a5a5f9e01c7be5787ce7bea22596 /sw/source/ui/app | |
parent | 4e7504d98040751d591e3566d10cc2f51a0755fd (diff) |
microopt
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r-- | sw/source/ui/app/appopt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/app/appopt.cxx b/sw/source/ui/app/appopt.cxx index 2a3299498c7a..69fab57fc4d6 100644 --- a/sw/source/ui/app/appopt.cxx +++ b/sw/source/ui/app/appopt.cxx @@ -165,17 +165,17 @@ SfxItemSet* SwModule::CreateItemSet( USHORT nId ) using namespace ::com::sun::star::i18n::ScriptType; - Any aLang = aLinguCfg.GetProperty(C2U("DefaultLocale")); + Any aLang = aLinguCfg.GetProperty(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultLocale"))); aLang >>= aLocale; nLang = MsLangId::resolveSystemLanguageByScriptType(MsLangId::convertLocaleToLanguage(aLocale), LATIN); pRet->Put(SvxLanguageItem(nLang, SID_ATTR_LANGUAGE)); - aLang = aLinguCfg.GetProperty(C2U("DefaultLocale_CJK")); + aLang = aLinguCfg.GetProperty(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultLocale_CJK"))); aLang >>= aLocale; nLang = MsLangId::resolveSystemLanguageByScriptType(MsLangId::convertLocaleToLanguage(aLocale), ASIAN); pRet->Put(SvxLanguageItem(nLang, SID_ATTR_CHAR_CJK_LANGUAGE)); - aLang = aLinguCfg.GetProperty(C2U("DefaultLocale_CTL")); + aLang = aLinguCfg.GetProperty(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultLocale_CTL"))); aLang >>= aLocale; nLang = MsLangId::resolveSystemLanguageByScriptType(MsLangId::convertLocaleToLanguage(aLocale), COMPLEX); pRet->Put(SvxLanguageItem(nLang, SID_ATTR_CHAR_CTL_LANGUAGE)); |