From f96db7d0ddeb737cf0e14eea6120daab860c54b7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Nov 2012 12:57:26 +0200 Subject: fdo#46808, use service constructor for i18n::Collator Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4 --- svx/source/items/numfmtsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/items') diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 7e72d3356767..d1c7b617c5ab 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1583,7 +1583,7 @@ void SvxNumberFormatShell::GetCurrencySymbols(std::vector& rList, ++nStart; } - CollatorWrapper aCollator( ::comphelper::getProcessServiceFactory()); + CollatorWrapper aCollator( ::comphelper::getProcessComponentContext()); aCollator.loadDefaultCollator( Application::GetSettings().GetLanguageTag().getLocale(), 0); const String aTwoSpace( RTL_CONSTASCII_USTRINGPARAM( " ")); -- cgit