summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-08-06 22:30:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 08:51:15 +0200
commit7b385595842b103ce6c990e6be5b9f18f2abdf7e (patch)
tree5cef57abec7f21d826de56b932e1af989091598b /reportdesign
parent7e510637e6854f47c2856b5226ea7680a8148bbf (diff)
cppcheck: variableScope
value unused since commit d5630adf33cc7d30a657e789e2bf0978028e0c1f loplugin:checkunusedparams in various Change-Id: I76c9a89f6fe15fbfce92f0d5578fd533325cb72b Reviewed-on: https://gerrit.libreoffice.org/40813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlfilter.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index e4f629fe6a0a..4106cdfc72b2 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -192,7 +192,6 @@ ErrCode ReadThroughComponent(
if ( xStorage.is() )
{
uno::Reference< io::XStream > xDocStream;
- bool bEncrypted = false;
try
{
@@ -215,9 +214,6 @@ ErrCode ReadThroughComponent(
// get input stream
xDocStream = xStorage->openStreamElement( sStreamName, embed::ElementModes::READ );
-
- uno::Reference< beans::XPropertySet > xProps( xDocStream, uno::UNO_QUERY_THROW );
- xProps->getPropertyValue("Encrypted") >>= bEncrypted;
}
catch (const packages::WrongPasswordException&)
{