summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/adabas/BDriver.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-05-25 12:11:19 +0000
committerOcke Janssen <oj@openoffice.org>2001-05-25 12:11:19 +0000
commitbfa4f07a4454da9665b512ecbbb68cc397947599 (patch)
tree58c86aba0065d44e79353ef307a5dd4952a3763d /connectivity/source/drivers/adabas/BDriver.cxx
parented1764588cc72527e4ef28d68f1bef2124ee7a30 (diff)
#86839# flush scanner buffer
Diffstat (limited to 'connectivity/source/drivers/adabas/BDriver.cxx')
-rw-r--r--connectivity/source/drivers/adabas/BDriver.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/connectivity/source/drivers/adabas/BDriver.cxx b/connectivity/source/drivers/adabas/BDriver.cxx
index 592a974767..836aaa1dad 100644
--- a/connectivity/source/drivers/adabas/BDriver.cxx
+++ b/connectivity/source/drivers/adabas/BDriver.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: BDriver.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2001-05-17 09:13:24 $
+ * last change: $Author: oj $ $Date: 2001-05-25 13:09:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -242,11 +242,7 @@ Reference< XConnection > SAL_CALL ODriver::connect( const ::rtl::OUString& url,
sal_Bool SAL_CALL ODriver::acceptsURL( const ::rtl::OUString& url )
throw(SQLException, RuntimeException)
{
- if(!url.compareTo(::rtl::OUString::createFromAscii("sdbc:adabas:"),12))
- {
- return sal_True;
- }
- return sal_False;
+ return (!url.compareTo(::rtl::OUString::createFromAscii("sdbc:adabas:"),12));
}
// --------------------------------------------------------------------------------
Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const ::rtl::OUString& , const Sequence< PropertyValue >& ) throw(SQLException, RuntimeException)