cppcheck: variableScope

value unused since commit d5630adf33
     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>
This commit is contained in:
Jochen Nitschke
2017-08-06 22:30:58 +02:00
committed by Noel Grandin
parent 7e510637e6
commit 7b38559584

View File

@@ -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&)
{