diff options
Diffstat (limited to 'unotools/source/i18n/textsearch.cxx')
-rw-r--r-- | unotools/source/i18n/textsearch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index 5e8327fdf42c..6582230e1cf2 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -128,7 +128,7 @@ TextSearch::TextSearch(const SearchParam & rParam, LanguageType eLang ) { if( LANGUAGE_NONE == eLang ) eLang = LANGUAGE_SYSTEM; - ::com::sun::star::lang::Locale aLocale( LanguageTag( eLang ).getLocale() ); + ::com::sun::star::lang::Locale aLocale( LanguageTag::convertToLocale( eLang ) ); Init( rParam, aLocale); } |