diff options
Diffstat (limited to 'xmlsecurity/source/helper/documentsignaturehelper.cxx')
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturehelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturehelper.cxx b/xmlsecurity/source/helper/documentsignaturehelper.cxx index 1eecea496128..a9515c18a9e5 100644 --- a/xmlsecurity/source/helper/documentsignaturehelper.cxx +++ b/xmlsecurity/source/helper/documentsignaturehelper.cxx @@ -112,8 +112,8 @@ void ImplFillElementList( if ( rxStore->isStreamElement( pNames[n] ) ) { //Exclude documentsignatures.xml! - if (pNames[n].equals( - DocumentSignatureHelper::GetDocumentContentSignatureDefaultStreamName())) + if (pNames[n] == + DocumentSignatureHelper::GetDocumentContentSignatureDefaultStreamName()) continue; OUString aFullName( rRootStorageName + sEncName ); rList.push_back(aFullName); @@ -459,7 +459,7 @@ bool DocumentSignatureHelper::checkIfAllFilesAreSigned( sElementListURI, rtl_UriCharClassPchar, rtl_UriEncodeCheckEscapes, RTL_TEXTENCODING_UTF8); } - if (sElementListURI.equals(sReferenceURI)) + if (sElementListURI == sReferenceURI) { nRealCount++; break; @@ -508,7 +508,7 @@ bool DocumentSignatureHelper::equalsReferenceUriManifestPath( //Decode the uri segment, so that %20 becomes ' ', etc. OUString sDecUri = ::rtl::Uri::decode( *i, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8); - if (!sDecUri.equals(*j)) + if (sDecUri != *j) { retVal = false; break; |