summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/Function.cxx
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-10-22 11:47:01 -0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-23 14:58:17 +0000
commit196f980012739d94654e6863b85b2e49f7e1a1e5 (patch)
treed9dd7f25ae8f39d43d7181c40122e46acda1b492 /reportdesign/source/core/api/Function.cxx
parent786153a048e773fa094429708023c7ffc76221e3 (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 'reportdesign/source/core/api/Function.cxx')
-rw-r--r--reportdesign/source/core/api/Function.cxx4
1 files changed, 2 insertions, 2 deletions
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 <tools/debug.hxx>
#include <connectivity/dbtools.hxx>
-#include <comphelper/sequence.hxx>
#include <comphelper/property.hxx>
+#include <cppuhelper/supportsservice.hxx>
#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)