INTEGRATION: CWS dba30c (1.50.10); FILE MERGED
2008/05/06 08:14:06 oj 1.50.10.1: #i88577# check for visual foxpro and accept text encoding when set
This commit is contained in:
parent
65512cb14f
commit
4843da3843
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: FConnection.cxx,v $
|
||||
* $Revision: 1.50 $
|
||||
* $Revision: 1.51 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
|
@ -72,6 +72,7 @@ OConnection::OConnection(OFileDriver* _pDriver)
|
|||
,m_bShowDeleted(sal_False)
|
||||
,m_bCaseSensitiveExtension( sal_True )
|
||||
,m_bCheckSQL92(sal_False)
|
||||
,m_bDefaultTextEncoding(false)
|
||||
{
|
||||
m_nTextEncoding = RTL_TEXTENCODING_DONTKNOW;
|
||||
}
|
||||
|
@ -156,6 +157,7 @@ void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyV
|
|||
{
|
||||
//m_nTextEncoding = osl_getTextEncodingFromLocale(NULL);
|
||||
m_nTextEncoding = osl_getThreadTextEncoding();
|
||||
m_bDefaultTextEncoding = true;
|
||||
}
|
||||
|
||||
if ( aExt.getLength() )
|
||||
|
|
Loading…
Reference in a new issue