Kaydet (Commit) ba72d47a authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS dba30a (1.59.6); FILE MERGED

2008/02/19 12:31:32 oj 1.59.6.1: correct locale
üst a5ff845e
......@@ -4,9 +4,9 @@
*
* $RCSfile: ETable.cxx,v $
*
* $Revision: 1.59 $
* $Revision: 1.60 $
*
* last change: $Author: rt $ $Date: 2008-01-30 07:53:01 $
* last change: $Author: kz $ $Date: 2008-03-05 16:31:20 $
*
* 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 @@ OFlatTable::OFlatTable(sdbcx::OCollection* _pTables,OFlatConnection* _pConnectio
// -----------------------------------------------------------------------------
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment