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

coverity#704224 Logically dead code

Change-Id: Ic113260ff969f3bb670cb8ecaf5d6068dea5dbdd
üst d63170c4
...@@ -442,7 +442,6 @@ void TmpRepositoryCommandEnv::handle( ...@@ -442,7 +442,6 @@ void TmpRepositoryCommandEnv::handle(
OSL_ASSERT( xRequest->getRequest().getValueTypeClass() == uno::TypeClass_EXCEPTION ); OSL_ASSERT( xRequest->getRequest().getValueTypeClass() == uno::TypeClass_EXCEPTION );
bool approve = true; bool approve = true;
bool abort = false;
// select: // select:
uno::Sequence< Reference< task::XInteractionContinuation > > conts( uno::Sequence< Reference< task::XInteractionContinuation > > conts(
...@@ -461,15 +460,6 @@ void TmpRepositoryCommandEnv::handle( ...@@ -461,15 +460,6 @@ void TmpRepositoryCommandEnv::handle(
approve = false; approve = false;
} }
} }
else if (abort) {
uno::Reference< task::XInteractionAbort > xInteractionAbort(
pConts[ pos ], uno::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