summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VGroup.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/sdbcx/VGroup.cxx
parentbb6d7df690687f1e066b09d72fb0a2204d12b5aa (diff)
#90015# code corrcetions for some speedup's
Diffstat (limited to 'connectivity/source/sdbcx/VGroup.cxx')
-rw-r--r--connectivity/source/sdbcx/VGroup.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx
index 46143cf57e78..54a3a5ffa79f 100644
--- a/connectivity/source/sdbcx/VGroup.cxx
+++ b/connectivity/source/sdbcx/VGroup.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VGroup.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2001-05-14 11:34:03 $
+ * last change: $Author: oj $ $Date: 2001-08-24 06:06:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -110,10 +110,8 @@ OGroup::~OGroup()
// -------------------------------------------------------------------------
Any SAL_CALL OGroup::queryInterface( const Type & rType ) throw(RuntimeException)
{
- Any aRet = ODescriptor::queryInterface( rType);
- if(aRet.hasValue())
- return aRet;
- return OGroup_BASE::queryInterface( rType);
+ Any aRet = ODescriptor::queryInterface( rType);
+ return aRet.hasValue() ? aRet : OGroup_BASE::queryInterface( rType);
}
// -------------------------------------------------------------------------
Sequence< Type > SAL_CALL OGroup::getTypes( ) throw(RuntimeException)