diff options
Diffstat (limited to 'connectivity/source/drivers/mysql/YCatalog.cxx')
-rw-r--r-- | connectivity/source/drivers/mysql/YCatalog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mysql/YCatalog.cxx b/connectivity/source/drivers/mysql/YCatalog.cxx index 5510faec0050..85adabef944c 100644 --- a/connectivity/source/drivers/mysql/YCatalog.cxx +++ b/connectivity/source/drivers/mysql/YCatalog.cxx @@ -119,7 +119,7 @@ void OMySQLCatalog::refreshUsers() Any SAL_CALL OMySQLCatalog::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) { - if ( rType == ::getCppuType((const Reference<XGroupsSupplier>*)0) ) + if ( rType == cppu::UnoType<XGroupsSupplier>::get()) return Any(); @@ -135,7 +135,7 @@ Sequence< Type > SAL_CALL OMySQLCatalog::getTypes( ) throw(RuntimeException, st const Type* pEnd = pBegin + aTypes.getLength(); for(;pBegin != pEnd;++pBegin) { - if ( !(*pBegin == ::getCppuType((const Reference<XGroupsSupplier>*)0))) + if ( !(*pBegin == cppu::UnoType<XGroupsSupplier>::get())) { aOwnTypes.push_back(*pBegin); } |