diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:29:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:29:00 +0200 |
commit | 3f846cb7a40ea6226c68ff22981d6090da66e6aa (patch) | |
tree | c5aef00f363a401f6929cc82a760e5fb9df35edb /xmlsecurity/source/xmlsec/nss | |
parent | 0fded753c787c9e0e374bf65fe5c53538adda206 (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I7128d99926bddf5ffd0a87099c7fa3ce3a1e08e0
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx index ceb628927fc6..7d2617144583 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx @@ -561,7 +561,7 @@ Reference< XCertificate > SecurityEnvironment_NssImpl :: createCertificateFromAs { OString oscert = OUStringToOString( asciiCertificate , RTL_TEXTENCODING_ASCII_US ) ; xmlChar* chCert = xmlStrndup( reinterpret_cast<const xmlChar*>(oscert.getStr()), ( int )oscert.getLength() ) ; - int certSize = xmlSecBase64Decode( chCert, ( xmlSecByte* )chCert, xmlStrlen( chCert ) ) ; + int certSize = xmlSecBase64Decode( chCert, reinterpret_cast<xmlSecByte*>(chCert), xmlStrlen( chCert ) ) ; if (certSize > 0) { Sequence< sal_Int8 > rawCert(certSize) ; |