summaryrefslogtreecommitdiffstats
path: root/connectivity/source/sdbcx/VDescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VDescriptor.cxx')
-rw-r--r--connectivity/source/sdbcx/VDescriptor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx
index a911b0b6f33c..8a1ff43cdfc7 100644
--- a/connectivity/source/sdbcx/VDescriptor.cxx
+++ b/connectivity/source/sdbcx/VDescriptor.cxx
@@ -133,10 +133,10 @@ namespace connectivity
Sequence< Type > SAL_CALL ODescriptor::getTypes( ) throw(RuntimeException, std::exception)
{
- ::cppu::OTypeCollection aTypes( ::getCppuType( (const Reference< XMultiPropertySet > *)0 ),
- ::getCppuType( (const Reference< XFastPropertySet > *)0 ),
- ::getCppuType( (const Reference< XPropertySet > *)0 ),
- ::getCppuType( (const Reference< XUnoTunnel > *)0 ));
+ ::cppu::OTypeCollection aTypes( cppu::UnoType<XMultiPropertySet>::get(),
+ cppu::UnoType<XFastPropertySet>::get(),
+ cppu::UnoType<XPropertySet>::get(),
+ cppu::UnoType<XUnoTunnel>::get());
return aTypes.getTypes();
}