summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/RTableConnectionData.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-06-18 13:09:52 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-06-18 13:09:52 +0200
commit8360fcb0987c67c6d3b07c2d603b0632d369b3ec (patch)
tree2109310194c4d42bc6ee533c0e66939baabf659f /dbaccess/source/ui/inc/RTableConnectionData.hxx
parent122bcfa60b2e840ba2cd9264ce403fe8dfd0f7a4 (diff)
parent8c9b11794acc7edb27b603949abdeadf56f08743 (diff)
cws tl79: merge with DEV300_m83
Diffstat (limited to 'dbaccess/source/ui/inc/RTableConnectionData.hxx')
-rw-r--r--dbaccess/source/ui/inc/RTableConnectionData.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/RTableConnectionData.hxx b/dbaccess/source/ui/inc/RTableConnectionData.hxx
index e129cff77..34282557a 100644
--- a/dbaccess/source/ui/inc/RTableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/RTableConnectionData.hxx
@@ -61,9 +61,9 @@ namespace dbaui
sal_Int32 m_nDeleteRules;
sal_Int32 m_nCardinality;
- BOOL checkPrimaryKey(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>& _xKeys,EConnectionSide _eEConnectionSide) const;
- BOOL IsSourcePrimKey() const { return checkPrimaryKey(getReferencingTable()->getKeys(),JTCS_FROM); }
- BOOL IsDestPrimKey() const { return checkPrimaryKey(getReferencedTable()->getKeys(),JTCS_TO); }
+ BOOL checkPrimaryKey(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& i_xTable,EConnectionSide _eEConnectionSide) const;
+ BOOL IsSourcePrimKey() const { return checkPrimaryKey(getReferencingTable()->getTable(),JTCS_FROM); }
+ BOOL IsDestPrimKey() const { return checkPrimaryKey(getReferencedTable()->getTable(),JTCS_TO); }
protected:
virtual OConnectionLineDataRef CreateLineDataObj();