diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-03-02 14:26:27 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-03-02 14:26:27 +0000 |
commit | 94fae28251aff5131a7cb3ecf86db792ebd4d924 (patch) | |
tree | 95b0fc08f45fe1638b6cd8f96b975e957d27064d /connectivity/source/sdbcx | |
parent | 8f5bce2190f4930a14d8b2c76598d29122542016 (diff) |
#84519# define removed
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r-- | connectivity/source/sdbcx/VColumn.cxx | 17 | ||||
-rw-r--r-- | connectivity/source/sdbcx/VIndexColumn.cxx | 19 | ||||
-rw-r--r-- | connectivity/source/sdbcx/VKeyColumn.cxx | 19 |
3 files changed, 49 insertions, 6 deletions
diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx index 2c0830275903..b5a5bcb27f23 100644 --- a/connectivity/source/sdbcx/VColumn.cxx +++ b/connectivity/source/sdbcx/VColumn.cxx @@ -2,9 +2,9 @@ * * $RCSfile: VColumn.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 15:26:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -157,6 +157,19 @@ OColumn::~OColumn() { } // ----------------------------------------------------------------------------- +::cppu::IPropertyArrayHelper* OColumn::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 OColumn::getInfoHelper() +{ + return *OColumn_PROP::getArrayHelper(isNew() ? 1 : 0); +} +// ----------------------------------------------------------------------------- void SAL_CALL OColumn::acquire() throw(::com::sun::star::uno::RuntimeException) { OColumnDescriptor_BASE::acquire(); diff --git a/connectivity/source/sdbcx/VIndexColumn.cxx b/connectivity/source/sdbcx/VIndexColumn.cxx index 74995d043210..a57d2eac1729 100644 --- a/connectivity/source/sdbcx/VIndexColumn.cxx +++ b/connectivity/source/sdbcx/VIndexColumn.cxx @@ -2,9 +2,9 @@ * * $RCSfile: VIndexColumn.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: oj $ $Date: 2000-11-03 13:36:27 $ + * last change: $Author: oj $ $Date: 2001-03-02 15:26:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -131,11 +131,26 @@ OIndexColumn::OIndexColumn( sal_Bool _IsAscending, { construct(); } +// ----------------------------------------------------------------------------- +::cppu::IPropertyArrayHelper* OIndexColumn::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 OIndexColumn::getInfoHelper() +{ + return *OIndexColumn_PROP::getArrayHelper(isNew() ? 1 : 0); +} // ------------------------------------------------------------------------- void OIndexColumn::construct() { sal_Int32 nAttrib = isNew() ? 0 : PropertyAttribute::READONLY; registerProperty(PROPERTY_ISASCENDING, PROPERTY_ID_ISASCENDING, nAttrib,&m_IsAscending, ::getBooleanCppuType()); } +// ----------------------------------------------------------------------------- + diff --git a/connectivity/source/sdbcx/VKeyColumn.cxx b/connectivity/source/sdbcx/VKeyColumn.cxx index 653ab9f3977c..f6978b47630b 100644 --- a/connectivity/source/sdbcx/VKeyColumn.cxx +++ b/connectivity/source/sdbcx/VKeyColumn.cxx @@ -2,9 +2,9 @@ * * $RCSfile: VKeyColumn.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-01-30 16:07:00 $ + * last change: $Author: oj $ $Date: 2001-03-02 15:26:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -138,12 +138,27 @@ OKeyColumn::OKeyColumn( const ::rtl::OUString& _ReferencedColumn, OKeyColumn::~OKeyColumn() { } +// ----------------------------------------------------------------------------- +::cppu::IPropertyArrayHelper* OKeyColumn::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 OKeyColumn::getInfoHelper() +{ + return *OKeyColumn_PROP::getArrayHelper(isNew() ? 1 : 0); +} // ------------------------------------------------------------------------- void OKeyColumn::construct() { sal_Int32 nAttrib = isNew() ? 0 : PropertyAttribute::READONLY; registerProperty(PROPERTY_RELATEDCOLUMN, PROPERTY_ID_RELATEDCOLUMN, nAttrib,&m_ReferencedColumn, ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL))); } +// ----------------------------------------------------------------------------- + |