coverity#1326133 Logically dead code
Change-Id: Idc10cfed44636213693fb0e7c859c5b1ffccd4e1
This commit is contained in:
parent
f0f747015a
commit
71d5fe742e
@ -75,7 +75,6 @@ class InteractionImpl implements com.sun.star.task.XInteractionHandler
|
||||
public void handle( com.sun.star.task.XInteractionRequest xRequest )
|
||||
{
|
||||
boolean approve = true;
|
||||
boolean abort = false;
|
||||
|
||||
com.sun.star.task.XInteractionContinuation[] conts = xRequest.getContinuations();
|
||||
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
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user