summaryrefslogtreecommitdiff
path: root/unotools/source/config/compatibility.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-21 18:34:53 +0100
committerEike Rathke <erack@redhat.com>2012-11-21 18:35:53 +0100
commitb8a467b70756b83c8aeb77f385ea1e368350d370 (patch)
treeeb0c2a0f560899b634ef8598f9022f4af24f1427 /unotools/source/config/compatibility.cxx
parentbe677b568690415ff90e7937d7269d3b41b39c16 (diff)
obtain LanguageTag from SvtSysLocale
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
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;