From d2f6a87ac7adb3f60f7eae7c5a8f8a9076b7a75c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Nov 2012 11:28:43 +0200 Subject: fdo#46808, use service constructor for i18n::NumberFormatMapper Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba --- sd/source/core/drawdoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 6ddcda448750..efe0adb9358b 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -263,7 +263,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh) if( xHyphenator.is() ) rOutliner.SetHyphenator( xHyphenator ); - SetForbiddenCharsTable( new SvxForbiddenCharactersTable( ::comphelper::getProcessServiceFactory() ) ); + SetForbiddenCharsTable( new SvxForbiddenCharactersTable( ::comphelper::getProcessComponentContext() ) ); } catch(...) { -- cgit