summaryrefslogtreecommitdiff
path: root/svx/source/form/ParseContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/ParseContext.cxx')
-rw-r--r--svx/source/form/ParseContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx
index 44552338f22b..0456a44d7595 100644
--- a/svx/source/form/ParseContext.cxx
+++ b/svx/source/form/ParseContext.cxx
@@ -64,7 +64,7 @@ OSystemParseContext::~OSystemParseContext()
//-----------------------------------------------------------------------------
::com::sun::star::lang::Locale OSystemParseContext::getPreferredLocale( ) const
{
- return SvtSysLocale().GetLocaleData().getLocale();
+ return SvtSysLocale().GetLanguageTag().getLocale();
}
//-----------------------------------------------------------------------------