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/calendarImpl.hxx | |
parent | f6c759a6e5ead55b857e5d4898aa423b7616e816 (diff) |
fdo#46808, Convert services in i18npool to XComponentContext
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
Diffstat (limited to 'i18npool/inc/calendarImpl.hxx')
-rw-r--r-- | i18npool/inc/calendarImpl.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/i18npool/inc/calendarImpl.hxx b/i18npool/inc/calendarImpl.hxx index 16753bb1b1e1..baf0b600c71f 100644 --- a/i18npool/inc/calendarImpl.hxx +++ b/i18npool/inc/calendarImpl.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/i18n/CalendarDisplayIndex.hpp> #include <cppuhelper/implbase2.hxx> // helper for implementations #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <vector> // ---------------------------------------------------- @@ -43,7 +44,7 @@ public: // Constructors CalendarImpl() {}; - CalendarImpl(const com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory >& rxMSF); + CalendarImpl(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext); /** * Destructor @@ -96,7 +97,7 @@ private: com::sun::star::uno::Reference < com::sun::star::i18n::XCalendar3 > xCalendar; }; std::vector<lookupTableItem*> lookupTable; - com::sun::star::uno::Reference < com::sun::star::lang::XMultiServiceFactory > xMSF; + com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext; com::sun::star::uno::Reference < com::sun::star::i18n::XCalendar3 > xCalendar; }; |