diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2014-01-25 16:24:52 -0200 |
---|---|---|
committer | Marcos Souza <marcos.souza.org@gmail.com> | 2014-02-03 14:35:46 +0000 |
commit | f9369d33a455b328f96fa554e3e942e64a40a4da (patch) | |
tree | 20916e357bd757412b977800a74141592928aaaf /cppuhelper | |
parent | 326bec33e0a08123d716b9d2a06884368a8f07eb (diff) |
fdo#54938 Convert to cppu::supportsService
Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10
Reviewed-on: https://gerrit.libreoffice.org/7649
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'cppuhelper')
-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 |