User: kz      
Date: 2008-03-05 16:30:23+0000
Modified:
   dba/connectivity/source/drivers/evoab/LTable.cxx

Log:
 INTEGRATION: CWS dba30a (1.16.102); FILE MERGED
 2008/02/19 12:31:32 oj 1.16.102.1: correct locale

File Changes:

Directory: /dba/connectivity/source/drivers/evoab/
==================================================

File [changed]: LTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LTable.cxx?r1=1.16&r2=1.17
Delta lines:  +3 -4
-------------------
--- LTable.cxx  2007-06-05 14:22:10+0000        1.16
+++ LTable.cxx  2008-03-05 16:30:20+0000        1.17
@@ -102,6 +102,7 @@
 #ifndef _COMPHELPER_TYPES_HXX_
 #include <comphelper/types.hxx>
 #endif
+#include <svtools/syslocale.hxx>
 #ifndef CONNECTIVITY_EVOAB_DEBUG_HELPER_HXX
 #include "LDebug.hxx"
 #endif
@@ -385,10 +386,8 @@
 // 
-----------------------------------------------------------------------------
 void OEvoabTable::construct()
 {
-       Any aValue = 
ConfigManager::GetDirectConfigProperty(ConfigManager::LOCALE);
-       LanguageType eLanguage = 
MsLangId::convertIsoStringToLanguage(comphelper::getString(aValue),'-');
-
-       ::com::sun::star::lang::Locale 
aAppLocale(MsLangId::convertLanguageToLocale(eLanguage));
+       SvtSysLocale aLocale;
+       ::com::sun::star::lang::Locale 
aAppLocale(aLocale.GetLocaleDataPtr()->getLocale());
        Sequence< ::com::sun::star::uno::Any > aArg(1);
        aArg[0] <<= aAppLocale;
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to