From 110a25fdc2b0dc16c9b376fa6a9fdeb5fe7a58fb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Jul 2018 14:49:58 +0200 Subject: loplugin:unusedfields Change-Id: I1827262ad95942cacff589929f9436f8383cf142 Reviewed-on: https://gerrit.libreoffice.org/57642 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/oox/crypto/DocumentDecryption.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/oox/crypto') diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx index a18e94e10412..e32667760c9f 100644 --- a/include/oox/crypto/DocumentDecryption.hxx +++ b/include/oox/crypto/DocumentDecryption.hxx @@ -35,8 +35,6 @@ namespace core { class OOX_DLLPUBLIC DocumentDecryption { private: - css::uno::Reference< css::uno::XComponentContext > mxContext; - enum CryptoType { UNKNOWN, @@ -49,9 +47,7 @@ private: CryptoType mCryptoType; public: - DocumentDecryption( - oox::ole::OleStorage& rOleStorage, - css::uno::Reference< css::uno::XComponentContext > const & xContext); + DocumentDecryption(oox::ole::OleStorage& rOleStorage); bool decrypt(const css::uno::Reference< css::io::XStream >& xDocumentStream); bool readEncryptionInfo(); -- cgit