diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-24 19:51:53 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-24 19:53:03 +0100 |
commit | d7a5ec62e91ce3dc5b784815254218f16181f676 (patch) | |
tree | 67994cf02b7089e6533f1c66d26c73850b4ac477 /linguistic/source/hyphdta.cxx | |
parent | 3bd0013044e41e63cdf790b67af1f0a202dcba87 (diff) |
get rid of CreateLocale() and related
Change-Id: Iba035ff20b149b3d85a8c0ea25430892c3e40e3f
Diffstat (limited to 'linguistic/source/hyphdta.cxx')
-rw-r--r-- | linguistic/source/hyphdta.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linguistic/source/hyphdta.cxx b/linguistic/source/hyphdta.cxx index c0c7a1f3551b..b43e6bc63ea6 100644 --- a/linguistic/source/hyphdta.cxx +++ b/linguistic/source/hyphdta.cxx @@ -84,8 +84,7 @@ Locale SAL_CALL HyphenatedWord::getLocale() { MutexGuard aGuard( GetLinguMutex() ); - Locale aRes; - return LanguageToLocale( aRes, nLanguage ); + return LanguageTag( nLanguage ).getLocale(); } @@ -151,7 +150,7 @@ Locale SAL_CALL PossibleHyphens::getLocale() throw(RuntimeException) { MutexGuard aGuard( GetLinguMutex() ); - return CreateLocale( nLanguage ); + return LanguageTag( nLanguage ).getLocale(); } |