summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-18 14:49:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 09:55:40 +0200
commit110a25fdc2b0dc16c9b376fa6a9fdeb5fe7a58fb (patch)
tree9d103f76e3e914ad57fa8bfea2d3d5fccf751f70 /oox
parentba0e705b53c631f9fc47b5379c50fe2abb95feac (diff)
loplugin:unusedfields
Change-Id: I1827262ad95942cacff589929f9436f8383cf142 Reviewed-on: https://gerrit.libreoffice.org/57642 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/filterdetect.cxx2
-rw-r--r--oox/source/crypto/DocumentDecryption.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx
index 805d2fb4b01d..0f1fe8625b7c 100644
--- a/oox/source/core/filterdetect.cxx
+++ b/oox/source/core/filterdetect.cxx
@@ -318,7 +318,7 @@ Reference< XInputStream > FilterDetect::extractUnencryptedPackage( MediaDescript
{
try
{
- DocumentDecryption aDecryptor(aOleStorage, mxContext);
+ DocumentDecryption aDecryptor(aOleStorage);
if( aDecryptor.readEncryptionInfo() )
{
diff --git a/oox/source/crypto/DocumentDecryption.cxx b/oox/source/crypto/DocumentDecryption.cxx
index 16cc29551b21..a8462b657329 100644
--- a/oox/source/crypto/DocumentDecryption.cxx
+++ b/oox/source/crypto/DocumentDecryption.cxx
@@ -26,8 +26,7 @@ namespace core {
using namespace css;
-DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage, uno::Reference<uno::XComponentContext> const & xContext) :
- mxContext(xContext),
+DocumentDecryption::DocumentDecryption(oox::ole::OleStorage& rOleStorage) :
mrOleStorage(rOleStorage),
mCryptoType(UNKNOWN)
{}