coverity#1326133 Logically dead code
Change-Id: Idc10cfed44636213693fb0e7c859c5b1ffccd4e1
This commit is contained in:
@@ -75,7 +75,6 @@ class InteractionImpl implements com.sun.star.task.XInteractionHandler
|
|||||||
public void handle( com.sun.star.task.XInteractionRequest xRequest )
|
public void handle( com.sun.star.task.XInteractionRequest xRequest )
|
||||||
{
|
{
|
||||||
boolean approve = true;
|
boolean approve = true;
|
||||||
boolean abort = false;
|
|
||||||
|
|
||||||
com.sun.star.task.XInteractionContinuation[] conts = xRequest.getContinuations();
|
com.sun.star.task.XInteractionContinuation[] conts = xRequest.getContinuations();
|
||||||
for (int i = 0; i < conts.length; i++)
|
for (int i = 0; i < conts.length; i++)
|
||||||
@@ -89,15 +88,6 @@ class InteractionImpl implements com.sun.star.task.XInteractionHandler
|
|||||||
//don't query again for ongoing extensions
|
//don't query again for ongoing extensions
|
||||||
approve = false;
|
approve = false;
|
||||||
}
|
}
|
||||||
else if (abort)
|
|
||||||
{
|
|
||||||
com.sun.star.task.XInteractionAbort xAbort =
|
|
||||||
UnoRuntime.queryInterface(com.sun.star.task.XInteractionAbort.class, conts[i]);
|
|
||||||
if (xAbort != null)
|
|
||||||
xAbort.select();
|
|
||||||
//don't query again for ongoing extensions
|
|
||||||
abort = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user