summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-26 13:26:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-28 07:19:46 +0100
commit65f007c629e5a7b2710e21e3f26164b433576e27 (patch)
treed064b7c23ffe3948443fe1a4499a56308e01f97a /svl
parent1446e097e76669c0d7749ec0f8918606d3cc4c28 (diff)
remove some unused local vars
found by my new aggressive unused var plugin. these are unused return values from function calls Change-Id: I3359c583f535828f192cb833762dfedc008d82f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87439 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/crypto/cryptosign.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 0d5fca9b630c..34de60c3572c 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -1966,9 +1966,8 @@ namespace
xNSSInitializer = css::xml::crypto::NSSInitializer::create(comphelper::getProcessComponentContext());
// this calls NSS_Init
- css::uno::Reference<css::xml::crypto::XDigestContext> xDigestContext(
- xNSSInitializer->getDigestContext(css::xml::crypto::DigestID::SHA256,
- uno::Sequence<beans::NamedValue>()));
+ xNSSInitializer->getDigestContext(css::xml::crypto::DigestID::SHA256,
+ uno::Sequence<beans::NamedValue>());
}
}
#endif