diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-08 11:24:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-15 09:56:02 +0200 |
commit | 549578a4ea996260437b355c39896593afc60726 (patch) | |
tree | 661c536084db8ce176348be2b2539e2d1d72d6ee /i18npool/inc/indexentrysupplier.hxx | |
parent | f6c759a6e5ead55b857e5d4898aa423b7616e816 (diff) |
fdo#46808, Convert services in i18npool to XComponentContext
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
Diffstat (limited to 'i18npool/inc/indexentrysupplier.hxx')
-rw-r--r-- | i18npool/inc/indexentrysupplier.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/i18npool/inc/indexentrysupplier.hxx b/i18npool/inc/indexentrysupplier.hxx index 981c18e67fdc..698e93df19ea 100644 --- a/i18npool/inc/indexentrysupplier.hxx +++ b/i18npool/inc/indexentrysupplier.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp> #include <cppuhelper/implbase2.hxx> // helper for implementations #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> namespace com { namespace sun { namespace star { namespace i18n { @@ -35,7 +36,7 @@ class IndexEntrySupplier : public cppu::WeakImplHelper2 > { public: - IndexEntrySupplier( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ); + IndexEntrySupplier( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); // Methods virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() @@ -87,7 +88,7 @@ public: private: rtl::OUString aServiceName; com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > xIES; - com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF; + com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext; sal_Bool SAL_CALL createLocaleSpecificIndexEntrySupplier(const rtl::OUString& name) throw( com::sun::star::uno::RuntimeException ); com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > SAL_CALL getLocaleSpecificIndexEntrySupplier( const com::sun::star::lang::Locale& rLocale, const rtl::OUString& rSortAlgorithm) throw (com::sun::star::uno::RuntimeException); |