From 389da66dfc96d06c407bff156c4ea21e940c5e06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 May 2017 15:40:42 +0200 Subject: remove unused uno::Reference vars found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/helper/xmlsignaturehelper.cxx | 1 - xmlsecurity/source/helper/xsecverify.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'xmlsecurity/source/helper') diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx index c7dc4d192a34..df8af13653b2 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx @@ -146,7 +146,6 @@ uno::Reference XMLSignatureHelper::CreateDocumentHandlerWithH /* * get SAX writer component */ - uno::Reference< lang::XMultiComponentFactory > xMCF( mxCtx->getServiceManager() ); uno::Reference< xml::sax::XWriter > xSaxWriter = xml::sax::Writer::create(mxCtx); /* diff --git a/xmlsecurity/source/helper/xsecverify.cxx b/xmlsecurity/source/helper/xsecverify.cxx index 41d628fcb5a1..138a0026928a 100644 --- a/xmlsecurity/source/helper/xsecverify.cxx +++ b/xmlsecurity/source/helper/xsecverify.cxx @@ -60,7 +60,6 @@ cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepar /* * create a SignatureVerifier */ - cssu::Reference< cssl::XMultiComponentFactory > xMCF( mxCtx->getServiceManager() ); xReferenceResolvedListener = new SignatureVerifierImpl; cssu::Reference xInitialization(xReferenceResolvedListener, cssu::UNO_QUERY); -- cgit