summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/inc/swcalwrp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/swcalwrp.hxx b/sw/inc/swcalwrp.hxx
index 31579428f88f..0d150bccdb5b 100644
--- a/sw/inc/swcalwrp.hxx
+++ b/sw/inc/swcalwrp.hxx
@@ -32,8 +32,8 @@ class SwCalendarWrapper : public CalendarWrapper
public:
SwCalendarWrapper( const ::com::sun::star::uno::Reference<
- ::com::sun::star::lang::XMultiServiceFactory > & xMSF = ::comphelper::getProcessServiceFactory() )
- : CalendarWrapper( xMSF ), nLang( LANGUAGE_SYSTEM )
+ ::com::sun::star::uno::XComponentContext > & rxContext = ::comphelper::getProcessComponentContext() )
+ : CalendarWrapper( rxContext ), nLang( LANGUAGE_SYSTEM )
{}
void LoadDefaultCalendar( sal_uInt16 nLang );