summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FConnection.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-11-29 11:50:57 +0000
committerOcke Janssen <oj@openoffice.org>2002-11-29 11:50:57 +0000
commitf0c10568ee29053639815a74d30224cda0d40c41 (patch)
treee264b99febeae4fdbfa5eaf6280708fa010f03e0 /connectivity/source/drivers/file/FConnection.cxx
parent9d9badc4912371c36181bd6da6d2f79f2cc4031a (diff)
#i7920# check if SQL namechecking is enabled
Diffstat (limited to 'connectivity/source/drivers/file/FConnection.cxx')
-rw-r--r--connectivity/source/drivers/file/FConnection.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FConnection.cxx b/connectivity/source/drivers/file/FConnection.cxx
index e2ddf1da3fd0..6876dcfdca8a 100644
--- a/connectivity/source/drivers/file/FConnection.cxx
+++ b/connectivity/source/drivers/file/FConnection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FConnection.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: oj $ $Date: 2002-10-25 09:15:22 $
+ * last change: $Author: oj $ $Date: 2002-11-29 12:50:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -144,6 +144,7 @@ OConnection::OConnection(OFileDriver* _pDriver)
,m_xMetaData(NULL)
,m_bShowDeleted(sal_False)
,m_bCaseSensitiveExtension( sal_True )
+ ,m_bCheckSQL92(sal_False)
{
ModuleContext::AddRef();
}
@@ -222,12 +223,15 @@ void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyV
{
pBegin->Value >>= m_bShowDeleted;
}
+ else if (0 == pBegin->Name.compareToAscii("EnableSQL92Check"))
+ {
+ pBegin->Value >>= m_bCheckSQL92;
+ }
}
- if(aExt.getLength())
+ if ( aExt.getLength() )
m_aFilenameExtension = aExt;
-
try
{
::ucb::Content aFile;