summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-03-02 12:09:17 +0000
committerOcke Janssen <oj@openoffice.org>2001-03-02 12:09:17 +0000
commitc6cbe27c4d4e2d9069a8cabc90b6718d21dda3e3 (patch)
treeb1df060a318b8f09f11893da6390ea0531c3f041 /connectivity
parentee85d69cb9fc0d37f9498f9f774044d2f6c15af6 (diff)
#84530# removed define
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/connectivity/sdbcx/VIndex.hxx7
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx17
2 files changed, 19 insertions, 5 deletions
diff --git a/connectivity/inc/connectivity/sdbcx/VIndex.hxx b/connectivity/inc/connectivity/sdbcx/VIndex.hxx
index 5c3ba8734daa..25f3f18d3d76 100644
--- a/connectivity/inc/connectivity/sdbcx/VIndex.hxx
+++ b/connectivity/inc/connectivity/sdbcx/VIndex.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VIndex.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2000-11-03 13:19:19 $
+ * last change: $Author: oj $ $Date: 2001-03-02 13:09:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -131,7 +131,8 @@ namespace connectivity
using ODescriptor_BASE::rBHelper;
// OPropertyArrayUsageHelper
- DECLARE_CTY_PROPERTY(OIndex_PROP,OIndex)
+ virtual ::cppu::IPropertyArrayHelper* createArrayHelper( sal_Int32 _nId) const;
+ virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
public:
DECLARE_CTY_DEFAULTS( ODescriptor_BASE);
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index a869582262db..a8015e1ca434 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VIndex.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2000-11-03 13:36:27 $
+ * last change: $Author: oj $ $Date: 2001-03-02 13:09:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -146,6 +146,19 @@ OIndex::~OIndex( )
{
delete m_pColumns;
}
+// -----------------------------------------------------------------------------
+::cppu::IPropertyArrayHelper* OIndex::createArrayHelper( sal_Int32 _nId) const
+{
+ ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aProps;
+ describeProperties(aProps);
+ changePropertyAttributte(aProps);
+ return new ::cppu::OPropertyArrayHelper(aProps);
+}
+// -----------------------------------------------------------------------------
+::cppu::IPropertyArrayHelper& SAL_CALL OIndex::getInfoHelper()
+{
+ return *OIndex_PROP::getArrayHelper(isNew() ? 1 : 0);
+}
// -------------------------------------------------------------------------
Any SAL_CALL OIndex::queryInterface( const Type & rType ) throw(RuntimeException)
{