From f9369d33a455b328f96fa554e3e942e64a40a4da Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Sat, 25 Jan 2014 16:24:52 -0200 Subject: fdo#54938 Convert to cppu::supportsService Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10 Reviewed-on: https://gerrit.libreoffice.org/7649 Tested-by: LibreOffice gerrit bot Reviewed-by: Marcos Souza Tested-by: Marcos Souza --- cppuhelper/source/factory.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cppuhelper') 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 xInfo( xFactory, UNO_QUERY ); - return xInfo.is() && xInfo->supportsService( ServiceName ); + return cppu::supportsService(this, ServiceName); } // XServiceInfo -- cgit