summaryrefslogtreecommitdiff
path: root/bf_sc/source/core/data/sc_global.cxx
diff options
context:
space:
mode:
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 );