diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-21 15:20:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-21 15:26:34 +0200 |
commit | 971069f41daff6d56c524e3050b33f88502ff11d (patch) | |
tree | 8208b361171b27965ba09c54b94efdc22d533425 /qadevOOo | |
parent | 1b1294caacf30597f4385a81b2fec5ec7c3c6dc8 (diff) |
cid#1327137 UrF: Unread field
Change-Id: I146730254b1b6398a7108648608bddea2e915536
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_XListBox.java | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_XListBox.java b/qadevOOo/tests/java/ifc/awt/_XListBox.java index 62809b6e6271..6c6ddd6b247e 100644 --- a/qadevOOo/tests/java/ifc/awt/_XListBox.java +++ b/qadevOOo/tests/java/ifc/awt/_XListBox.java @@ -62,16 +62,10 @@ public class _XListBox extends MultiMethodTest { * Listener implementation which sets flags on appropriate method calls */ protected static class TestActionListener implements com.sun.star.awt.XActionListener { - public boolean disposingCalled = false ; - public boolean actionPerformedCalled = false ; - public void disposing(com.sun.star.lang.EventObject e) { - disposingCalled = true ; - } + public void disposing(com.sun.star.lang.EventObject e) {} - public void actionPerformed(com.sun.star.awt.ActionEvent e) { - actionPerformedCalled = true ; - } + public void actionPerformed(com.sun.star.awt.ActionEvent e) {} } @@ -81,17 +75,10 @@ public class _XListBox extends MultiMethodTest { * Listener implementation which sets flags on appropriate method calls */ protected static class TestItemListener implements com.sun.star.awt.XItemListener { - public boolean disposingCalled = false ; - public boolean itemStateChangedCalled = false ; - public void disposing(com.sun.star.lang.EventObject e) { - disposingCalled = true ; - } - - public void itemStateChanged(com.sun.star.awt.ItemEvent e) { - itemStateChangedCalled = true ; - } + public void disposing(com.sun.star.lang.EventObject e) {} + public void itemStateChanged(com.sun.star.awt.ItemEvent e) {} } TestItemListener itemListener = new TestItemListener() ; |