summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/AView.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-08-24 05:19:41 +0000
committerOcke Janssen <oj@openoffice.org>2001-08-24 05:19:41 +0000
commit2d7388c15291c6b0ca4ea29837c7c1b92ad23a53 (patch)
tree162ed438d04c164f892a2936a4ff2828d07ab820 /connectivity/source/drivers/ado/AView.cxx
parentbb6d7df690687f1e066b09d72fb0a2204d12b5aa (diff)
#90015# code corrcetions for some speedup's
Diffstat (limited to 'connectivity/source/drivers/ado/AView.cxx')
-rw-r--r--connectivity/source/drivers/ado/AView.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/connectivity/source/drivers/ado/AView.cxx b/connectivity/source/drivers/ado/AView.cxx
index e26125a84c57..560dfa80382b 100644
--- a/connectivity/source/drivers/ado/AView.cxx
+++ b/connectivity/source/drivers/ado/AView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AView.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: oj $ $Date: 2001-05-23 09:13:09 $
+ * last change: $Author: oj $ $Date: 2001-08-24 06:13:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -142,10 +142,11 @@ Sequence< sal_Int8 > OAdoView::getUnoTunnelImplementationId()
//------------------------------------------------------------------
sal_Int64 OAdoView::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException)
{
- if (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
- return (sal_Int64)this;
-
- return OView_ADO::getSomething(rId);
+ return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
+ ?
+ (sal_Int64)this
+ :
+ OView_ADO::getSomething(rId);
}
// -------------------------------------------------------------------------