diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-08 14:53:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-28 13:06:18 +0100 |
commit | 56ea15091c69d280310aa8b28bb1e9488eaad756 (patch) | |
tree | 5c97dee49a30aa1b51c7f54f7990723268f28878 /i18npool/inc/collatorImpl.hxx | |
parent | 7e708545e4e32910d93cd471eb8438dca4ab47b6 (diff) |
fdo#46808, use service constructor for i18n::Collator
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
Diffstat (limited to 'i18npool/inc/collatorImpl.hxx')
-rw-r--r-- | i18npool/inc/collatorImpl.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx index 7af96199cbbd..52409c59796f 100644 --- a/i18npool/inc/collatorImpl.hxx +++ b/i18npool/inc/collatorImpl.hxx @@ -20,7 +20,6 @@ #define _I18N_COLLATORIMPL_HXX_ #include <comphelper/processfactory.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/i18n/XLocaleData4.hpp> #include <com/sun/star/i18n/XCollator.hpp> @@ -44,7 +43,7 @@ class CollatorImpl : public cppu::WeakImplHelper2 public: // Constructors - CollatorImpl( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ); + CollatorImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); // Destructor ~CollatorImpl(); @@ -95,7 +94,7 @@ private : lookupTableItem *cachedItem; // Service Factory - com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF; + com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext; // lang::Locale Data com::sun::star::uno::Reference < XLocaleData4 > mxLocaleData; |