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:
committed by
Noel Grandin
parent
7e510637e6
commit
7b38559584
@@ -192,7 +192,6 @@ ErrCode ReadThroughComponent(
|
|||||||
if ( xStorage.is() )
|
if ( xStorage.is() )
|
||||||
{
|
{
|
||||||
uno::Reference< io::XStream > xDocStream;
|
uno::Reference< io::XStream > xDocStream;
|
||||||
bool bEncrypted = false;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -215,9 +214,6 @@ ErrCode ReadThroughComponent(
|
|||||||
|
|
||||||
// get input stream
|
// get input stream
|
||||||
xDocStream = xStorage->openStreamElement( sStreamName, embed::ElementModes::READ );
|
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&)
|
catch (const packages::WrongPasswordException&)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user