summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/CRowSetColumn.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-07 11:31:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-07 11:31:35 +0000
commit4492de10e0c61900bd00b1b03983073258161a93 (patch)
treeb1d4efbc1f12c01047c85a42c4bc73da8d460eda /dbaccess/source/core/api/CRowSetColumn.cxx
parent9c97e631716d73d7d9f17c2b53f6edfe8a160e10 (diff)
fix this up but keep cppcheck silent
Diffstat (limited to 'dbaccess/source/core/api/CRowSetColumn.cxx')
-rw-r--r--dbaccess/source/core/api/CRowSetColumn.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/core/api/CRowSetColumn.cxx b/dbaccess/source/core/api/CRowSetColumn.cxx
index 34ec5be0d3bd..adba67d0865e 100644
--- a/dbaccess/source/core/api/CRowSetColumn.cxx
+++ b/dbaccess/source/core/api/CRowSetColumn.cxx
@@ -55,9 +55,7 @@ ORowSetColumn::ORowSetColumn( const Reference < XResultSetMetaData >& _xMetaDa
::cppu::IPropertyArrayHelper* ORowSetColumn::createArrayHelper( ) const
{
- const sal_Int32 nDerivedProperties = 21;
- Sequence< Property> aDerivedProperties( nDerivedProperties );
- sal_Int32 nPos = 0;
+ BEGIN_PROPERTY_SEQUENCE(21)
DECL_PROP1( CATALOGNAME, ::rtl::OUString, READONLY );
DECL_PROP1( DISPLAYSIZE, sal_Int32, READONLY );
@@ -85,7 +83,7 @@ ORowSetColumn::ORowSetColumn( const Reference < XResultSetMetaData >& _xMetaDa
Sequence< Property > aRegisteredProperties;
describeProperties( aRegisteredProperties );
- return new ::cppu::OPropertyArrayHelper( ::comphelper::concatSequences( aDerivedProperties, aRegisteredProperties ), sal_False );
+ return new ::cppu::OPropertyArrayHelper( ::comphelper::concatSequences( aDescriptor, aRegisteredProperties ), sal_False );
}
::cppu::IPropertyArrayHelper& ORowSetColumn::getInfoHelper()