From 8fff6bf6bdab6b7addcbbf472a226706edda1edb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Oct 2012 17:18:13 +0200 Subject: fdo#46808, Adapt i18n::LocaleCalendar UNO service to new style Did not need to create a new interface, because XCalendar3 already covers the whole service interface. Change-Id: Iaf094014c16e872d2003ca6e8e7588abd081d882 --- unotools/inc/unotools/calendarwrapper.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'unotools/inc') diff --git a/unotools/inc/unotools/calendarwrapper.hxx b/unotools/inc/unotools/calendarwrapper.hxx index 96de48d29434..d7e66dea0f33 100644 --- a/unotools/inc/unotools/calendarwrapper.hxx +++ b/unotools/inc/unotools/calendarwrapper.hxx @@ -29,8 +29,8 @@ #include "unotools/unotoolsdllapi.h" namespace com { namespace sun { namespace star { - namespace lang { - class XMultiServiceFactory; + namespace uno { + class XComponentContext; } }}} @@ -43,14 +43,13 @@ namespace com { namespace sun { namespace star { class UNOTOOLS_DLLPUBLIC CalendarWrapper { - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XCalendar3 > xC; DateTime aEpochStart; // 1Jan1970 public: CalendarWrapper( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & xSF + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rxContext ); ~CalendarWrapper(); -- cgit v1.2.3