diff options
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index b9e85c132c3b..b0b7e7bd9ea6 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -954,8 +954,7 @@ OUString OFactoryProxyHelper::getImplementationName() sal_Bool OFactoryProxyHelper::supportsService(const OUString& ServiceName) throw(::com::sun::star::uno::RuntimeException) { - Reference<XServiceInfo > xInfo( xFactory, UNO_QUERY ); - return xInfo.is() && xInfo->supportsService( ServiceName ); + return cppu::supportsService(this, ServiceName); } // XServiceInfo |