diff options
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optasian.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index 229af974baf2..20a6794835b3 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -349,8 +349,7 @@ IMPL_LINK_NOARG(SvxAsianLayoutPage, LanguageHdl) } if(!bAvail) { - Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory(); - LocaleDataWrapper aWrap( xMSF, aLocale ); + LocaleDataWrapper aWrap( aLocale ); ForbiddenCharacters aForbidden = aWrap.getForbiddenCharacters(); sStart = aForbidden.beginLine; sEnd = aForbidden.endLine; diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 84a8d3e51f9a..006be93a1c19 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1697,7 +1697,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet ) { Locale aTempLocale; SvxLanguageToLocale( aTempLocale, Application::GetSettings().GetLanguage()); - LocaleDataWrapper aLocaleWrapper( ::comphelper::getProcessServiceFactory(), aTempLocale ); + LocaleDataWrapper aLocaleWrapper( aTempLocale ); aDatePatternsString = lcl_getDatePatternsConfigString( aLocaleWrapper); } aDatePatternsED.SetText( aDatePatternsString); @@ -1894,7 +1894,7 @@ IMPL_LINK( OfaLanguagesTabPage, LocaleSettingHdl, SvxLanguageBox*, pBox ) // obtain corresponding locale data Locale aTempLocale; SvxLanguageToLocale( aTempLocale, eLang ); - LocaleDataWrapper aLocaleWrapper( ::comphelper::getProcessServiceFactory(), aTempLocale ); + LocaleDataWrapper aLocaleWrapper( aTempLocale ); // update the decimal separator key of the related CheckBox String sTempLabel(sDecimalSeparatorLabel); |