Tag: cws_oog680_c21v001
User: oj      
Date: 2008-03-10 06:46:31+0000
Modified:
   dba/connectivity/source/drivers/evoab/LFolderList.cxx
   dba/connectivity/source/drivers/evoab/LTable.cxx
   dba/connectivity/source/drivers/flat/ETable.cxx

Log:
 use correct locale

File Changes:

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

File [changed]: LFolderList.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LFolderList.cxx?r1=1.12&r2=1.12.94.1
Delta lines:  +6 -7
-------------------
--- LFolderList.cxx     2007-06-05 14:21:57+0000        1.12
+++ LFolderList.cxx     2008-03-10 06:46:28+0000        1.12.94.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: LFolderList.cxx,v $
  *
- *  $Revision: 1.12 $
+ *  $Revision: 1.12.94.1 $
  *
- *  last change: $Author: ihi $ $Date: 2007/06/05 14:21:57 $
+ *  last change: $Author: oj $ $Date: 2008/03/10 06:46:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -109,6 +109,7 @@
 #ifndef CONNECTIVITY_EVOAB_DEBUG_HELPER_HXX
 #include "LDebug.hxx"
 #endif
+#include <svtools/syslocale.hxx>
 
 using namespace ::comphelper;
 using namespace connectivity;
@@ -349,10 +350,8 @@
 // 
-----------------------------------------------------------------------------
 void OEvoabFolderList::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;
 

File [changed]: LTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LTable.cxx?r1=1.16&r2=1.16.94.1
Delta lines:  +6 -7
-------------------
--- LTable.cxx  2007-06-05 14:22:10+0000        1.16
+++ LTable.cxx  2008-03-10 06:46:28+0000        1.16.94.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: LTable.cxx,v $
  *
- *  $Revision: 1.16 $
+ *  $Revision: 1.16.94.1 $
  *
- *  last change: $Author: ihi $ $Date: 2007/06/05 14:22:10 $
+ *  last change: $Author: oj $ $Date: 2008/03/10 06:46:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -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;
 

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

File [changed]: ETable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/flat/ETable.cxx?r1=1.57.38.2&r2=1.57.38.3
Delta lines:  +6 -7
-------------------
--- ETable.cxx  2008-03-06 16:14:49+0000        1.57.38.2
+++ ETable.cxx  2008-03-10 06:46:28+0000        1.57.38.3
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: ETable.cxx,v $
  *
- *  $Revision: 1.57.38.2 $
+ *  $Revision: 1.57.38.3 $
  *
- *  last change: $Author: rt $ $Date: 2008/03/06 16:14:49 $
+ *  last change: $Author: oj $ $Date: 2008/03/10 06:46:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -102,6 +102,7 @@
 #ifndef CONNECTIVITY_QUOTED_STRING_HXX
 #include "file/quotedstring.hxx"
 #endif
+#include <svtools/syslocale.hxx>
 
 using namespace ::comphelper;
 using namespace connectivity;
@@ -374,10 +375,8 @@
 // 
-----------------------------------------------------------------------------
 void OFlatTable::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