summaryrefslogtreecommitdiffstats
path: root/bf_sc/source/core/data/sc_global.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-10-29 17:28:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-10-29 17:28:10 +0100
commit9e1d8c9cfa1197c4fa5685240549fed3134e4f7c (patch)
treed5a99118cf9ad9dda8fafda5d403dbc919f9871c /bf_sc/source/core/data/sc_global.cxx
parentignore callcatcher dir (diff)
downloadbinfilter-9e1d8c9cfa1197c4fa5685240549fed3134e4f7c.tar.gz
binfilter-9e1d8c9cfa1197c4fa5685240549fed3134e4f7c.zip
fdo#46808: Adapted to core CalendarWrapper changes
...and swcalwrp.hxx stuff turns out to be unused, anyway.
Diffstat (limited to 'bf_sc/source/core/data/sc_global.cxx')
-rw-r--r--bf_sc/source/core/data/sc_global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bf_sc/source/core/data/sc_global.cxx b/bf_sc/source/core/data/sc_global.cxx
index bc6a4e35e..eabcd5577 100644
--- a/bf_sc/source/core/data/sc_global.cxx
+++ b/bf_sc/source/core/data/sc_global.cxx
@@ -396,7 +396,7 @@ void global_InitAppOptions();
/*N*/ pSysLocale = new SvtSysLocale;
/*N*/ pCharClass = pSysLocale->GetCharClassPtr();
/*N*/ pLocaleData = pSysLocale->GetLocaleDataPtr();
-/*N*/ pCalendar = new CalendarWrapper( ::legacy_binfilters::getLegacyProcessServiceFactory() );
+/*N*/ pCalendar = new CalendarWrapper( comphelper::getComponentContext( ::legacy_binfilters::getLegacyProcessServiceFactory() ) );
/*N*/ pCalendar->loadDefaultCalendar( *pLocale );
/*N*/ pCollator = new CollatorWrapper( ::legacy_binfilters::getLegacyProcessServiceFactory() );
/*N*/ pCollator->loadDefaultCollator( *pLocale, SC_COLLATOR_IGNORES );