diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-17 18:23:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-18 08:17:13 +0100 |
commit | 9cc2b07ff5e610258aad2ec2b72e6b1ea15fd5e2 (patch) | |
tree | 89e14bbce9d4700b4c7e8c99bd3bbf1df947a483 /xmlsecurity/source/xmlsec/nss/ciphercontext.cxx | |
parent | d8326e80c6f5a6d393c1d18479c31c81ca1d9239 (diff) |
loplugin:referencecasting in xmlsecurity
Change-Id: I038c4f85250b4d8d8fef605fd90f6fa53bbffe9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111079
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/xmlsec/nss/ciphercontext.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/ciphercontext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx b/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx index 104414f815de..c36de660df4e 100644 --- a/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx +++ b/xmlsecurity/source/xmlsec/nss/ciphercontext.cxx @@ -52,7 +52,7 @@ uno::Reference< xml::crypto::XCipherContext > OCipherContext::Create( CK_MECHANI xResult->m_bPadding = bW3CPadding || ( PK11_GetPadMechanism( nNSSCipherID ) == nNSSCipherID ); xResult->m_nBlockSize = PK11_GetBlockSize( nNSSCipherID, xResult->m_pSecParam ); if ( xResult->m_nBlockSize <= SAL_MAX_INT8 ) - return xResult.get(); + return xResult; } } } |