summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-02-14 10:54:38 +0000
committerOcke Janssen <oj@openoffice.org>2001-02-14 10:54:38 +0000
commitcd1b35607a295979e15b26387abaff652b66fb9d (patch)
tree6d8aff5891ce0867fa9b2784b6807b5d258bb234 /connectivity/source/sdbcx
parent5bf790075a45c44a2fde3aba34f896aedbf043fa (diff)
if new table isn't a indexsupplier
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VTable.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index 007f5aaf0858..98093afc5012 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VTable.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: oj $ $Date: 2000-11-06 08:11:20 $
+ * last change: $Author: oj $ $Date: 2001-02-14 11:54:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -188,6 +188,8 @@ Any SAL_CALL OTable::queryInterface( const Type & rType ) throw(RuntimeException
{
if(!isNew())
aRet = OTable_BASE::queryInterface( rType);
+ if(isNew() && (rType == getCppuType( (Reference<XIndexesSupplier>*)0)))
+ return Any();
if(!aRet.hasValue())
aRet = OTableDescriptor_BASE::queryInterface( rType);
}