summaryrefslogtreecommitdiff
path: root/sfx2/source/menu/thessubmenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/menu/thessubmenu.cxx')
-rw-r--r--sfx2/source/menu/thessubmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/menu/thessubmenu.cxx b/sfx2/source/menu/thessubmenu.cxx
index 3c22420ba4fd..7c56a19b2d58 100644
--- a/sfx2/source/menu/thessubmenu.cxx
+++ b/sfx2/source/menu/thessubmenu.cxx
@@ -53,7 +53,7 @@ void SfxThesSubMenuHelper::GetLocale(
xub_StrLen nDelimPos )
{
String aIsoLang( rLookUpString.Copy( nDelimPos + 1) );
- rLocale = LanguageTag( aIsoLang).getLocale();
+ rLocale = LanguageTag::convertToLocale( aIsoLang);
}