From 196f980012739d94654e6863b85b2e49f7e1a1e5 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Tue, 22 Oct 2013 11:47:01 -0200 Subject: 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 Tested-by: Stephan Bergmann --- reportdesign/source/core/api/Function.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reportdesign/source/core/api/Function.cxx') diff --git a/reportdesign/source/core/api/Function.cxx b/reportdesign/source/core/api/Function.cxx index 38868973be49..422e365db025 100644 --- a/reportdesign/source/core/api/Function.cxx +++ b/reportdesign/source/core/api/Function.cxx @@ -21,8 +21,8 @@ #include "corestrings.hrc" #include #include -#include #include +#include #include "Tools.hxx" // ============================================================================= namespace reportdesign @@ -88,7 +88,7 @@ uno::Sequence< OUString > SAL_CALL OFunction::getSupportedServiceNames( ) throw //------------------------------------------------------------------------------ sal_Bool SAL_CALL OFunction::supportsService(const OUString& ServiceName) throw( uno::RuntimeException ) { - return ::comphelper::existsValue(ServiceName,getSupportedServiceNames_Static()); + return cppu::supportsService(this, ServiceName); } // ----------------------------------------------------------------------------- uno::Reference< beans::XPropertySetInfo > SAL_CALL OFunction::getPropertySetInfo( ) throw(uno::RuntimeException) -- cgit v1.2.3