diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 09:23:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 09:18:31 +0100 |
commit | b5bde198a8e5054277787d3c6b5feddb4c5b93fd (patch) | |
tree | b69fcda448584b2488c6e85f99a2fb14d53e73c6 /xmlsecurity | |
parent | 72302338f9eb5e965dd84dca9990841151e2f79c (diff) |
remove some unused local vars
found by my new loplugin:unusedvariableplus
Change-Id: Ic3f55f492d43a53d8850a97d44059ff127fd69a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87573
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/component/documentdigitalsignatures.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 9f4bcb7a85f2..777158a40157 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -820,9 +820,7 @@ bool DocumentDigitalSignatures::signWithCertificateImpl( aSignatureManager.getSignatureHelper().SetStorage(xStorage, m_sODFVersion); aSignatureManager.setSignatureStream(xStream); - Reference<XXMLSecurityContext> xSecurityContext; - Reference<XServiceInfo> xServiceInfo(xCertificate, UNO_QUERY); - xSecurityContext = aSignatureManager.getSecurityContext(); + Reference<XXMLSecurityContext> xSecurityContext = aSignatureManager.getSecurityContext(); sal_Int32 nSecurityId; |