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 /svl/inc | |
parent | b772eb0c728a06bdf72866ef61f800bbf7ec15a9 (diff) |
fdo#46808, Convert SvNumberFormatter to use XComponentContext
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index b7e6949f89d2..9167bfc33790 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -47,8 +47,8 @@ class ImpSvNumberInputScan; class SvNumberformat; namespace com { namespace sun { namespace star { - namespace lang { - class XMultiServiceFactory; + namespace uno { + class XComponentContext; } }}} @@ -325,7 +325,7 @@ public: /// Preferred ctor with service manager and language/country enum SvNumberFormatter( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, LanguageType eLang ); @@ -788,7 +788,7 @@ public: static bool IsLocaleInstalled( LanguageType eLang ); private: - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; LanguageTag maLanguageTag; SvNumberFormatTable aFTable; // Table of format keys to format entries typedef std::map<sal_uInt32, sal_uInt32> DefaultFormatKeysMap; @@ -936,9 +936,9 @@ public: // new format codes are appended. void ReplaceSystemCL( LanguageType eOldLanguage ); - inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > GetServiceManager() const + inline ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > GetComponentContext() const { - return xServiceManager; + return m_xContext; } |