From af60316514f3ae3d4c475819bf86f2af837171e3 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 23 Nov 2012 23:06:10 +0100 Subject: some i18n wrappers with LanguageTag Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d --- extensions/source/propctrlr/xsdvalidationhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source/propctrlr/xsdvalidationhelper.cxx') diff --git a/extensions/source/propctrlr/xsdvalidationhelper.cxx b/extensions/source/propctrlr/xsdvalidationhelper.cxx index 26137db4b935..bca2aee38bb4 100644 --- a/extensions/source/propctrlr/xsdvalidationhelper.cxx +++ b/extensions/source/propctrlr/xsdvalidationhelper.cxx @@ -353,7 +353,7 @@ namespace pcr return; // and the standard format for the given NumberFormat type - sal_Int32 nDesiredFormat = xFormatTypes->getStandardFormat( nNumberFormatType, SvtSysLocale().GetLocaleData().getLocale() ); + sal_Int32 nDesiredFormat = xFormatTypes->getStandardFormat( nNumberFormatType, SvtSysLocale().GetLanguageTag().getLocale() ); // set this at the introspectee m_xControlModel->setPropertyValue( PROPERTY_FORMATKEY, makeAny( nDesiredFormat ) ); -- cgit