diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2014-02-05 23:57:38 -0200 |
---|---|---|
committer | Marcos Souza <marcos.souza.org@gmail.com> | 2014-02-06 15:47:54 +0000 |
commit | f139c10fd357c1c07f857a1d277f39d9cbc39d1f (patch) | |
tree | 242d722ae6b27e273e61a17baf79b22ef010eaae /sc/inc/miscuno.hxx | |
parent | 61e28e86ed30fb37df96c7fd0807b5aaeacf5eea (diff) |
fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsService
Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507
Reviewed-on: https://gerrit.libreoffice.org/7886
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'sc/inc/miscuno.hxx')
-rw-r--r-- | sc/inc/miscuno.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx index 0023a9ac2678..3d04b6209e82 100644 --- a/sc/inc/miscuno.hxx +++ b/sc/inc/miscuno.hxx @@ -27,6 +27,7 @@ #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XIndexAccess.hpp> #include <cppuhelper/implbase2.hxx> +#include <cppuhelper/supportsservice.hxx> #include "scdllapi.h" #define SC_SIMPLE_SERVICE_INFO( ClassName, ClassNameAscii, ServiceAscii ) \ @@ -38,7 +39,7 @@ OUString SAL_CALL ClassName::getImplementationName() \ sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \ throw(::com::sun::star::uno::RuntimeException) \ { \ - return !ServiceName.compareToAscii(ServiceAscii); \ + return cppu::supportsService(this, ServiceName); \ } \ ::com::sun::star::uno::Sequence< OUString > \ SAL_CALL ClassName::getSupportedServiceNames(void) \ |