Kaydet (Commit) a672bebd authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

xmlsecurity: clean-up code a bit

Reviewed-on: https://gerrit.libreoffice.org/64294
Tested-by: Jenkins
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 40d52cfe)

Change-Id: I4a43f1f33f73919f56150310e7d05244d81b7510
üst 416ce6cc
...@@ -271,14 +271,14 @@ OUString SAL_CALL XMLSignature_NssImpl::getImplementationName() { ...@@ -271,14 +271,14 @@ OUString SAL_CALL XMLSignature_NssImpl::getImplementationName() {
} }
/* XServiceInfo */ /* XServiceInfo */
sal_Bool SAL_CALL XMLSignature_NssImpl::supportsService( const OUString& serviceName) { sal_Bool SAL_CALL XMLSignature_NssImpl::supportsService(const OUString& rServiceName)
Sequence< OUString > seqServiceNames = getSupportedServiceNames() ; {
const OUString* pArray = seqServiceNames.getConstArray() ; for (OUString const & rCurrentServiceName : getSupportedServiceNames())
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { {
if( *( pArray + i ) == serviceName ) if (rCurrentServiceName == rServiceName)
return true ; return true;
} }
return false ; return false;
} }
/* XServiceInfo */ /* XServiceInfo */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment