diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 10:36:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 11:38:57 +0100 |
commit | 71d5fe742eaa10b0fab39cc1a9614fa004a2dfa0 (patch) | |
tree | 5a9af00338c0a503c4d80a98bd8ec645035d6c43 /smoketest/org | |
parent | f0f747015a3c94a607d82848e9b2ce9338a32bcd (diff) |
coverity#1326133 Logically dead code
Change-Id: Idc10cfed44636213693fb0e7c859c5b1ffccd4e1
Diffstat (limited to 'smoketest/org')
-rw-r--r-- | smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java index f5ddd77880be..8d6fdb2e4574 100644 --- a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java +++ b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java @@ -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; - } } } } |