summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/JoinTableView.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 09:38:03 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 09:38:03 +0000
commit7c29a6ef96eca3beecf3d09a0266846c1f92aca9 (patch)
treec34463c0feeda111dff88c080b777d107f8ad395 /dbaccess/source/ui/querydesign/JoinTableView.cxx
parente617ed8da937160e60bc9a2bbef34580f76b79ea (diff)
INTEGRATION: CWS geordi2q10 (1.46.68); FILE MERGED
2003/11/28 09:43:05 rt 1.46.68.1: #111934#: join CWS dba01pp1
Diffstat (limited to 'dbaccess/source/ui/querydesign/JoinTableView.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 341b728e081f..00392448a895 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: JoinTableView.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: vg $ $Date: 2003-06-25 11:04:33 $
+ * last change: $Author: rt $ $Date: 2003-12-01 10:38:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1260,7 +1260,7 @@ BOOL OJoinTableView::IsAddAllowed()
// nicht wenn schon zuviele Tabellen
Reference < XDatabaseMetaData > xMetaData( xConnection->getMetaData() );
- sal_Int32 nMax = xMetaData->getMaxTablesInSelect();
+ sal_Int32 nMax = xMetaData.is() ? xMetaData->getMaxTablesInSelect() : 0;
if (nMax && nMax <= (sal_Int32)m_aTableMap.size())
return FALSE;
}