extensions/source/propctrlr/standardcontrol.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a92cae04ddf608948617843d8f992e9743421a7f
Author: Eike Rathke <er...@redhat.com>
Date:   Sat Nov 17 03:10:04 2012 +0100

    use LanguageTag
    
    Change-Id: I1279cf9266b90a8c0936788824ca277b6dd40a6c

diff --git a/extensions/source/propctrlr/standardcontrol.cxx 
b/extensions/source/propctrlr/standardcontrol.cxx
index 2927129..8d57aeb 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -41,7 +41,7 @@
 #include <svtools/colorcfg.hxx>
 #include <unotools/syslocale.hxx>
 #include <unotools/datetime.hxx>
-#include <i18npool/mslangid.hxx>
+#include <i18npool/languagetag.hxx>
 #include <vcl/button.hxx>
 #include <vcl/svapp.hxx>
 //==================================================================
@@ -262,7 +262,7 @@ namespace pcr
 
         // determine a default format
         Locale aSysLocale = SvtSysLocale().GetLocaleData().getLocale();
-        LanguageType eSysLanguage = MsLangId::convertLocaleToLanguage( 
aSysLocale );
+        LanguageType eSysLanguage = LanguageTag( aSysLocale ).getLanguageType( 
false);
 
         getTypedControlWindow()->SetFormatter( 
getTypedControlWindow()->StandardFormatter() );
         SvNumberFormatter* pFormatter = 
getTypedControlWindow()->GetFormatter();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to