summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-25 17:18:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-29 17:32:57 +0100
commit8fff6bf6bdab6b7addcbbf472a226706edda1edb (patch)
treea27347a5b8e0bef5c00757a56a0e9a217fcb2f59 /unotools/inc
parentd29818290376f10f318ba805a79643384b34986e (diff)
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
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/calendarwrapper.hxx7
1 files changed, 3 insertions, 4 deletions
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();