summaryrefslogtreecommitdiff
path: root/connectivity/source/inc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:25:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 12:25:02 +0000
commitec1a1764bd210bb3003560ebb7c6bf1110bfb60d (patch)
treebe85eade0d8c9aac8d563557171dd104fcbf0a67 /connectivity/source/inc
parentc2e447e0e78f3516c6b835384b27c157de487888 (diff)
INTEGRATION: CWS dba30c (1.9.10); FILE MERGED
2008/05/05 10:57:51 oj 1.9.10.1: #i87131# collect keys only once, getKeys always refetch the keys
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r--connectivity/source/inc/adabas/BKeys.hxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/connectivity/source/inc/adabas/BKeys.hxx b/connectivity/source/inc/adabas/BKeys.hxx
index 90076b3304..738fc1602a 100644
--- a/connectivity/source/inc/adabas/BKeys.hxx
+++ b/connectivity/source/inc/adabas/BKeys.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: BKeys.hxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -31,28 +31,24 @@
#ifndef _CONNECTIVITY_ADABAS_KEYS_HXX_
#define _CONNECTIVITY_ADABAS_KEYS_HXX_
-#include "connectivity/sdbcx/VCollection.hxx"
+#include "connectivity/TKeys.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
#include "adabas/BTable.hxx"
namespace connectivity
{
namespace adabas
{
- class OKeys : public sdbcx::OCollection
+ class OKeys : public OKeysHelper
{
- OAdabasTable* m_pTable;
protected:
- virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName);
- virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor();
virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor );
- virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
+
+ virtual ::rtl::OUString getDropForeignKey() const;
public:
OKeys(OAdabasTable* _pTable,
::osl::Mutex& _rMutex,
const TStringVector &_rVector
- ) : sdbcx::OCollection(*_pTable,sal_True,_rMutex,_rVector,sal_True)
- ,m_pTable(_pTable)
+ ) : OKeysHelper(_pTable,_rMutex,_rVector)
{}
};
}