summaryrefslogtreecommitdiff
path: root/i18npool/inc/textconversionImpl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-08 11:24:30 +0200
committerNoel Grandin <noel@peralex.com>2013-01-15 09:56:02 +0200
commit549578a4ea996260437b355c39896593afc60726 (patch)
tree661c536084db8ce176348be2b2539e2d1d72d6ee /i18npool/inc/textconversionImpl.hxx
parentf6c759a6e5ead55b857e5d4898aa423b7616e816 (diff)
fdo#46808, Convert services in i18npool to XComponentContext
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
Diffstat (limited to 'i18npool/inc/textconversionImpl.hxx')
-rw-r--r--i18npool/inc/textconversionImpl.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/i18npool/inc/textconversionImpl.hxx b/i18npool/inc/textconversionImpl.hxx
index 9fa94d6b63c6..a7fd9233c880 100644
--- a/i18npool/inc/textconversionImpl.hxx
+++ b/i18npool/inc/textconversionImpl.hxx
@@ -22,6 +22,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/i18n/XExtendedTextConversion.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase2.hxx> // helper for implementations
namespace com { namespace sun { namespace star { namespace i18n {
@@ -36,7 +37,7 @@ class TextConversionImpl : public cppu::WeakImplHelper2
>
{
public:
- TextConversionImpl( const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF ) : xMSF(rxMSF) {};
+ TextConversionImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ) : m_xContext(rxContext) {};
// Methods
com::sun::star::i18n::TextConversionResult SAL_CALL
@@ -80,7 +81,7 @@ public:
private :
com::sun::star::lang::Locale aLocale;
com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedTextConversion > xTC;
- com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF;
+ com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
void SAL_CALL getLocaleSpecificTextConversion( const com::sun::star::lang::Locale& rLocale )
throw( com::sun::star::lang::NoSupportException );