summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/macab/MacabStatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/macab/MacabStatement.cxx')
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index 87b279933323..0fb2105a69c9 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -372,9 +372,9 @@ Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(Ru
Sequence< Type > SAL_CALL MacabCommonStatement::getTypes( ) throw(RuntimeException, std::exception)
{
- ::cppu::OTypeCollection aTypes( ::getCppuType( (const Reference< XMultiPropertySet > *)0 ),
- ::getCppuType( (const Reference< XFastPropertySet > *)0 ),
- ::getCppuType( (const Reference< XPropertySet > *)0 ));
+ ::cppu::OTypeCollection aTypes( cppu::UnoType<XMultiPropertySet>::get(),
+ cppu::UnoType<XFastPropertySet>::get(),
+ cppu::UnoType<XPropertySet>::get());
return comphelper::concatSequences(aTypes.getTypes(),MacabCommonStatement_BASE::getTypes());
}