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 --- basctl/source/basicide/scriptdocument.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basctl') diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 644b816e2219..c1256b517d7f 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -1193,7 +1193,7 @@ namespace basctl // sort document list by doc title? if ( _eListType == DocumentsSorted ) { - CollatorWrapper aCollator( ::comphelper::getProcessServiceFactory() ); + CollatorWrapper aCollator( ::comphelper::getProcessComponentContext() ); aCollator.loadDefaultCollator( SvtSysLocale().GetLanguageTag().getLocale(), 0 ); ::std::sort( aScriptDocs.begin(), aScriptDocs.end(), DocumentTitleLess( aCollator ) ); } -- cgit