summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec/nss
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:29:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:29:00 +0200
commit3f846cb7a40ea6226c68ff22981d6090da66e6aa (patch)
treec5aef00f363a401f6929cc82a760e5fb9df35edb /xmlsecurity/source/xmlsec/nss
parent0fded753c787c9e0e374bf65fe5c53538adda206 (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.cxx2
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) ;