summaryrefslogtreecommitdiff
path: root/linguistic/source/hyphdta.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/hyphdta.cxx')
-rw-r--r--linguistic/source/hyphdta.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/hyphdta.cxx b/linguistic/source/hyphdta.cxx
index 76d91ef5a2b1..f5ce5b157acd 100644
--- a/linguistic/source/hyphdta.cxx
+++ b/linguistic/source/hyphdta.cxx
@@ -83,7 +83,7 @@ Locale SAL_CALL HyphenatedWord::getLocale()
{
MutexGuard aGuard( GetLinguMutex() );
- return LanguageTag( nLanguage ).getLocale();
+ return LanguageTag::convertToLocale( nLanguage );
}
@@ -149,7 +149,7 @@ Locale SAL_CALL PossibleHyphens::getLocale()
throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
- return LanguageTag( nLanguage ).getLocale();
+ return LanguageTag::convertToLocale( nLanguage );
}