summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-12-13 23:25:10 +0100
committerEike Rathke <erack@redhat.com>2012-12-13 23:26:02 +0100
commit58889b2f592658a6c68ed13fe604fbbe7eaad96a (patch)
tree2e4deb13231ec1d61dfe6333d9d5ff01b948d907 /linguistic
parent3b3c5c7c540be1c495a012df57ed4fb5694faf6a (diff)
removed unnecessary double-step conversion
Change-Id: Ib5f89c40c0afb0a4e887ae97fd66179c29f0b5d0 (cherry picked from commit 3d0614275554ec9914917629b581f244788ebe63)
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngsvcmgr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index a6248ef94f6a..4f6840746991 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1928,8 +1928,7 @@ uno::Sequence< OUString > SAL_CALL
uno::Sequence< OUString > aSvcImplNames;
- LanguageType nLanguage = LanguageTag( rLocale ).getLanguageType();
- OUString aCfgLocale( LanguageTag( nLanguage ).getBcp47() );
+ OUString aCfgLocale( LanguageTag( rLocale).getBcp47() );
uno::Sequence< uno::Any > aValues;
uno::Sequence< OUString > aNames( 1 );