diff options
Diffstat (limited to 'xmlsecurity/source/helper/documentsignaturemanager.cxx')
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturemanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx index 12e76685c8d2..f39fe39a68b2 100644 --- a/xmlsecurity/source/helper/documentsignaturemanager.cxx +++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx @@ -141,11 +141,11 @@ bool DocumentSignatureManager::isXML(const OUString& rURI) { const beans::PropertyValue& prop = entry[j]; - if (prop.Name.equals(sPropFullPath)) + if (prop.Name == sPropFullPath) prop.Value >>= sPath; - else if (prop.Name.equals(sPropMediaType)) + else if (prop.Name == sPropMediaType) prop.Value >>= sMediaType; - else if (prop.Name.equals(sPropDigest)) + else if (prop.Name == sPropDigest) bEncrypted = true; } if (DocumentSignatureHelper::equalsReferenceUriManifestPath(rURI, sPath)) |