diff options
author | Noel Grandin <noel@peralex.com> | 2012-11-20 12:57:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-30 13:59:46 +0100 |
commit | f96db7d0ddeb737cf0e14eea6120daab860c54b7 (patch) | |
tree | 6107a9464ff9fa889740a743255f543390791f22 /basctl | |
parent | there is nothing to localize in 'scripting' module (diff) | |
download | core-f96db7d0ddeb737cf0e14eea6120daab860c54b7.tar.gz core-f96db7d0ddeb737cf0e14eea6120daab860c54b7.zip |
fdo#46808, use service constructor for i18n::Collator
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/scriptdocument.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ); } |