diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-10 16:40:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-28 08:25:24 +0200 |
commit | f95a7c2c6d5c2158de12bb3ca6fd94b139e33c62 (patch) | |
tree | 85f09e15fd9954a84f55e561cb174fe0450ea99f /xmloff/source/style/xmlnumfe.cxx | |
parent | b772eb0c728a06bdf72866ef61f800bbf7ec15a9 (diff) |
fdo#46808, Convert SvNumberFormatter to use XComponentContext
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index 98e3e9e803cb..0a124371de2d 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -237,9 +237,9 @@ SvXMLNumFmtExport::SvXMLNumFmtExport( if ( pFormatter ) { - pCharClass = new CharClass( comphelper::getComponentContext(pFormatter->GetServiceManager()), + pCharClass = new CharClass( pFormatter->GetComponentContext(), pFormatter->GetLanguageTag() ); - pLocaleData = new LocaleDataWrapper( comphelper::getComponentContext(pFormatter->GetServiceManager()), + pLocaleData = new LocaleDataWrapper( pFormatter->GetComponentContext(), pFormatter->GetLanguageTag() ); } else @@ -272,9 +272,9 @@ SvXMLNumFmtExport::SvXMLNumFmtExport( if ( pFormatter ) { - pCharClass = new CharClass( comphelper::getComponentContext(pFormatter->GetServiceManager()), + pCharClass = new CharClass( pFormatter->GetComponentContext(), pFormatter->GetLanguageTag() ); - pLocaleData = new LocaleDataWrapper( comphelper::getComponentContext(pFormatter->GetServiceManager()), + pLocaleData = new LocaleDataWrapper( pFormatter->GetComponentContext(), pFormatter->GetLanguageTag() ); } else |