summaryrefslogtreecommitdiff
path: root/bf_svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-05 18:02:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-05 18:02:12 +0100
commit63f492b8333f5994294c8ea88fd8c5aa163ec6ff (patch)
tree32941797ab34c025b854247aa64c98b3a03c6997 /bf_svtools
parentce44bd325ea92465dc64c7733cc88a58fef6ec91 (diff)
fdo#46808, use service constructor for i18n::CharacterClassificationHEADmaster
Diffstat (limited to 'bf_svtools')
-rw-r--r--bf_svtools/source/numbers/svt_zforlist.cxx2
-rw-r--r--bf_svtools/source/syslocale/svt_syslocale.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bf_svtools/source/numbers/svt_zforlist.cxx b/bf_svtools/source/numbers/svt_zforlist.cxx
index a76965234..420524141 100644
--- a/bf_svtools/source/numbers/svt_zforlist.cxx
+++ b/bf_svtools/source/numbers/svt_zforlist.cxx
@@ -235,7 +235,7 @@ void SvNumberFormatter::ImpConstruct( LanguageType eLang )
nDefaultSystemCurrencyFormat = NUMBERFORMAT_ENTRY_NOT_FOUND;
aLocale = MsLangId::convertLanguageToLocale( eLang );
- pCharClass = new CharClass( xServiceManager, aLocale );
+ pCharClass = new CharClass( comphelper::getComponentContext(xServiceManager), aLocale );
xLocaleData.init( xServiceManager, aLocale, eLang );
xCalendar.init( xServiceManager, aLocale );
xTransliteration.init( xServiceManager, eLang,
diff --git a/bf_svtools/source/syslocale/svt_syslocale.cxx b/bf_svtools/source/syslocale/svt_syslocale.cxx
index c13ac5495..4f10a444e 100644
--- a/bf_svtools/source/syslocale/svt_syslocale.cxx
+++ b/bf_svtools/source/syslocale/svt_syslocale.cxx
@@ -65,7 +65,7 @@ SvtSysLocale_Impl::SvtSysLocale_Impl()
pLocaleData = new LocaleDataWrapper(
::comphelper::getProcessServiceFactory(), rLocale );
pCharClass = new CharClass(
- ::comphelper::getProcessServiceFactory(), rLocale );
+ ::comphelper::getProcessComponentContext(), rLocale );
aSysLocaleOptions.AddListener( *this );
}