Kaydet (Commit) 7b385595 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

cppcheck: variableScope

value unused since commit d5630adf
     loplugin:checkunusedparams in various

Change-Id: I76c9a89f6fe15fbfce92f0d5578fd533325cb72b
Reviewed-on: https://gerrit.libreoffice.org/40813Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 7e510637
......@@ -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&)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment