summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-28 11:16:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-28 11:16:38 +0100
commit8b533d84f3ae211fdfafc2adc8d8567f366771d4 (patch)
treef06f1058756bccf21686a9d06b4d5d71fe3963bc /connectivity/source
parent8a85479845c89093bd2a05c31bccf8cbb7c55ad3 (diff)
Missing XTypeProvider base class
Change-Id: I4e457b55d7d5cd255a0931030f35150d1dd6bf09
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/commontools/paramwrapper.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx
index 84e472097bc0..9c4af0eb8b46 100644
--- a/connectivity/source/commontools/paramwrapper.cxx
+++ b/connectivity/source/commontools/paramwrapper.cxx
@@ -103,11 +103,12 @@ namespace param
Sequence< Type > SAL_CALL ParameterWrapper::getTypes( ) throw(RuntimeException, std::exception)
{
- Sequence< Type > aTypes( 4 );
- aTypes[ 1 ] = ::getCppuType( static_cast< Reference< XWeak >* >( NULL ) );
- aTypes[ 1 ] = ::getCppuType( static_cast< Reference< XPropertySet >* >( NULL ) );
- aTypes[ 2 ] = ::getCppuType( static_cast< Reference< XFastPropertySet >* >( NULL ) );
- aTypes[ 3 ] = ::getCppuType( static_cast< Reference< XMultiPropertySet >* >( NULL ) );
+ Sequence< Type > aTypes( 5 );
+ aTypes[ 0 ] = ::getCppuType( static_cast< Reference< XWeak >* >( NULL ) );
+ aTypes[ 1 ] = ::getCppuType( static_cast< Reference< XTypeProvider >* >( NULL ) );
+ aTypes[ 2 ] = ::getCppuType( static_cast< Reference< XPropertySet >* >( NULL ) );
+ aTypes[ 3 ] = ::getCppuType( static_cast< Reference< XFastPropertySet >* >( NULL ) );
+ aTypes[ 4 ] = ::getCppuType( static_cast< Reference< XMultiPropertySet >* >( NULL ) );
return aTypes;
}