summaryrefslogtreecommitdiff
path: root/svl/source/items/dateitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/dateitem.cxx')
-rw-r--r--svl/source/items/dateitem.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx
index bbe8e38b249d..dc7478d5e506 100644
--- a/svl/source/items/dateitem.cxx
+++ b/svl/source/items/dateitem.cxx
@@ -138,8 +138,7 @@ SfxItemPresentation SfxDateTimeItem::GetPresentation
{
DBG_WARNING("SfxDateTimeItem::GetPresentation():"
" Using default en_US IntlWrapper");
- const IntlWrapper aIntlWrapper(
- ::comphelper::getProcessServiceFactory(), LanguageTag( LANGUAGE_ENGLISH_US) );
+ const IntlWrapper aIntlWrapper( LanguageTag( LANGUAGE_ENGLISH_US) );
rText = aIntlWrapper.getLocaleData()->getDate(aDateTime);
rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", "));
rText += aIntlWrapper.getLocaleData()->getTime(aDateTime);