Kaydet (Commit) d63170c4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704223 Logically dead code

Change-Id: I4d5380f7c60ff10d1e1c2560e1e1288eb79cd056
üst c6ea43e7
......@@ -661,7 +661,6 @@ void UpdateCommandEnv::handle(
css::deployment::VersionException verExc;
bool approve = false;
bool abort = false;
if (request >>= verExc)
{ //We must catch the version exception during the update,
......@@ -672,7 +671,7 @@ void UpdateCommandEnv::handle(
approve = true;
}
if (approve == false && abort == false)
if (approve == false)
{
//forward to interaction handler for main dialog.
handleInteractionRequest( m_xContext, xRequest );
......@@ -696,15 +695,6 @@ void UpdateCommandEnv::handle(
approve = false;
}
}
else if (abort) {
cssu::Reference< css::task::XInteractionAbort > xInteractionAbort(
pConts[ pos ], cssu::UNO_QUERY );
if (xInteractionAbort.is()) {
xInteractionAbort->select();
// don't query again for ongoing continuations:
abort = false;
}
}
}
}
}
......
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