summaryrefslogtreecommitdiff
path: root/unotools/source/config/compatibility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/compatibility.cxx')
-rw-r--r--unotools/source/config/compatibility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx
index 8278137c61bb..e5079a9886d2 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -404,7 +404,7 @@ SvtCompatibilityOptions_Impl::SvtCompatibilityOptions_Impl()
if ( !bDefaultFound && aItem.sName.equals( COMPATIBILITY_DEFAULT_NAME ) != sal_False )
{
SvtSysLocale aSysLocale;
- com::sun::star::lang::Locale aLocale = aSysLocale.GetLocale();
+ com::sun::star::lang::Locale aLocale = aSysLocale.GetLanguageTag().getLocale();
if ( aLocale.Language == "zh" || aLocale.Language == "ja" || aLocale.Language == "ko" )
aItem.bExpandWordSpace = false;