diff options
-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() ; |