diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 13:10:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 20:23:09 +0200 |
commit | 8c77b5670ec0ee6d550d5adba51b8ae76fe2c162 (patch) | |
tree | 9a905004341f2fae7bee3b45bd8826d95f801353 /xmlsecurity/source | |
parent | 1dea7fb6be5f1ba64f680e3ad885afa1c99030bf (diff) |
use OString::operator== in preference to ::equals
Change-Id: Ib291521963a791a9c6175964571e9d9895072acf
Reviewed-on: https://gerrit.libreoffice.org/39646
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx index 079be582e02b..e168fca4a674 100644 --- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.cxx @@ -207,7 +207,7 @@ css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension > unsigned char* objid = reinterpret_cast<unsigned char *>(const_cast<char *>(objID.getStr())); unsigned int objidlen = objID.getLength(); - if (objID.equals("2.5.29.17")) + if (objID == "2.5.29.17") { SanExtensionImpl* pExtn = new SanExtensionImpl; pExtn->setCertExtn(value, vlen, objid, objidlen, crit); @@ -252,7 +252,7 @@ css::uno::Reference< css::security::XCertificateExtension > SAL_CALL X509Certifi unsigned char* objid = (*extns)->id.data; unsigned int objidlen = (*extns)->id.len; - if ( objId.equals("OID.2.5.29.17") ) + if ( objId == "OID.2.5.29.17" ) { rtl::Reference<SanExtensionImpl> xSanImpl( new SanExtensionImpl); |