diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xindex.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xindex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindex.cxx b/connectivity/source/drivers/postgresql/pq_xindex.cxx index 9c81b6ce47f5..6ce1c9c2099a 100644 --- a/connectivity/source/drivers/postgresql/pq_xindex.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindex.cxx @@ -134,7 +134,7 @@ Sequence<Type > Index::getTypes() throw( RuntimeException, std::exception ) if( !pCollection ) { static cppu::OTypeCollection collection( - getCppuType( (Reference< com::sun::star::sdbcx::XColumnsSupplier> *) 0 ), + cppu::UnoType<com::sun::star::sdbcx::XColumnsSupplier>::get(), ReflectionBase::getTypes()); pCollection = &collection; } @@ -207,7 +207,7 @@ Sequence<Type > IndexDescriptor::getTypes() throw( RuntimeException, std::except if( !pCollection ) { static cppu::OTypeCollection collection( - getCppuType( (Reference< com::sun::star::sdbcx::XColumnsSupplier> *) 0 ), + cppu::UnoType<com::sun::star::sdbcx::XColumnsSupplier>::get(), ReflectionBase::getTypes()); pCollection = &collection; } |