diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-10-22 11:47:01 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-23 14:58:17 +0000 |
commit | 196f980012739d94654e6863b85b2e49f7e1a1e5 (patch) | |
tree | d9dd7f25ae8f39d43d7181c40122e46acda1b492 /chart2 | |
parent | 786153a048e773fa094429708023c7ffc76221e3 (diff) |
fdo#54938: Replace existsValue for cppu::supportsService
As now ::comphelper::existsValue is not used anymore, we're removing this too.
Change-Id: I9bd2544a9c378f5a18746255133f5684867e0114
Reviewed-on: https://gerrit.libreoffice.org/6378
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ShapeToolbarController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ShapeToolbarController.cxx b/chart2/source/controller/main/ShapeToolbarController.cxx index 85cbccba9836..f5875d8edcda 100644 --- a/chart2/source/controller/main/ShapeToolbarController.cxx +++ b/chart2/source/controller/main/ShapeToolbarController.cxx @@ -20,7 +20,7 @@ #include "ShapeToolbarController.hxx" #include <osl/mutex.hxx> -#include <comphelper/sequence.hxx> +#include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> #include <toolkit/helper/vclunohelper.hxx> @@ -54,7 +54,7 @@ Sequence< OUString > ShapeToolbarController::getSupportedServiceNames_Static() t ::sal_Bool ShapeToolbarController::supportsService( const OUString& ServiceName ) throw (uno::RuntimeException) { - return ::comphelper::existsValue( ServiceName, getSupportedServiceNames_Static() ); + return cppu::supportsService( this, ServiceName ); } Sequence< OUString > ShapeToolbarController::getSupportedServiceNames() throw (uno::RuntimeException) |