diff options
author | Eike Rathke <erack@redhat.com> | 2012-12-13 23:25:10 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-12-13 23:25:23 +0100 |
commit | 3d0614275554ec9914917629b581f244788ebe63 (patch) | |
tree | 78fbb10d7119904c6885cbb25c6121cd5b4c912a | |
parent | 5c19504b50a7098070ddee0dda9d3d28254bfe75 (diff) |
removed unnecessary double-step conversion
Change-Id: Ib5f89c40c0afb0a4e887ae97fd66179c29f0b5d0
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 3 |
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 ); |