diff options
author | Canberk TURAN <canberkkturann@gmail.com> | 2020-01-27 11:01:25 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-02-01 10:20:28 +0100 |
commit | a2c9b446243c153653537227da4731ebc945fb73 (patch) | |
tree | 2f09b21965968e4c72122c0b8acb1d345a1d19a1 /xmlsecurity/source/framework | |
parent | 322f31dcf5c07025cf96b3de3fb1f258acce27c7 (diff) |
tdf#54938: Adapt supportsService implementations to cppu::supportsService
Change-Id: I82fa5528c879f288822fe9795d7d7da19f0abbee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87485
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r-- | xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx index 586a8f70c7a1..de6cf54cd206 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx @@ -21,6 +21,7 @@ #include <rtl/ustring.hxx> #include <framework/xmlsignaturetemplateimpl.hxx> #include <comphelper/sequence.hxx> +#include <cppuhelper/supportsservice.hxx> using namespace ::com::sun::star::uno ; using ::com::sun::star::lang::XMultiServiceFactory ; @@ -97,8 +98,7 @@ OUString SAL_CALL XMLSignatureTemplateImpl::getImplementationName() { /* XServiceInfo */ sal_Bool SAL_CALL XMLSignatureTemplateImpl::supportsService( const OUString& serviceName) { - Sequence< OUString > seqServiceNames = getSupportedServiceNames() ; - return comphelper::findValue(seqServiceNames, serviceName) != -1; + return cppu::supportsService(this, serviceName); } /* XServiceInfo */ |