summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_statement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/mysqlc_statement.cxx')
-rw-r--r--mysqlc/source/mysqlc_statement.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index 57b051ea4568..2c6cb8e9b755 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -121,9 +121,9 @@ Sequence< Type > SAL_CALL OCommonStatement::getTypes()
throw(RuntimeException, std::exception)
{
OSL_TRACE("OCommonStatement::getTypes");
- ::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 concatSequences(aTypes.getTypes(), OCommonStatement_IBase::getTypes());
}