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 /extensions | |
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 'extensions')
-rw-r--r-- | extensions/source/propctrlr/stringrepresentation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index 770937b2c18e..cfba15f94d37 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -21,6 +21,7 @@ #include "cppuhelper/factory.hxx" #include "cppuhelper/implementationentry.hxx" #include "cppuhelper/implbase3.hxx" +#include <cppuhelper/supportsservice.hxx> #include "com/sun/star/lang/XServiceInfo.hpp" #include "com/sun/star/inspection/XStringRepresentation.hpp" #include "com/sun/star/lang/XInitialization.hpp" @@ -31,7 +32,6 @@ #include <com/sun/star/util/DateTime.hpp> #include <com/sun/star/util/Date.hpp> #include <com/sun/star/util/Time.hpp> -#include <comphelper/sequence.hxx> #include <comphelper/sequenceasvector.hxx> #include <connectivity/dbconversion.hxx> #include "formresid.hrc" @@ -149,7 +149,7 @@ OUString SAL_CALL StringRepresentation::getImplementationName() throw (uno::Run ::sal_Bool SAL_CALL StringRepresentation::supportsService(OUString const & serviceName) throw (uno::RuntimeException) { - return ::comphelper::existsValue(serviceName,comp_StringRepresentation::_getSupportedServiceNames()); + return cppu::supportsService(this, serviceName); } uno::Sequence< OUString > SAL_CALL StringRepresentation::getSupportedServiceNames() throw (uno::RuntimeException) |