summaryrefslogtreecommitdiffstats
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-21 15:20:00 +0200
committerNoel Grandin <noel@peralex.com>2015-10-21 15:26:34 +0200
commit971069f41daff6d56c524e3050b33f88502ff11d (patch)
tree8208b361171b27965ba09c54b94efdc22d533425 /qadevOOo
parentcid#1327136 UrF: Unread field (diff)
downloadcore-971069f41daff6d56c524e3050b33f88502ff11d.tar.gz
core-971069f41daff6d56c524e3050b33f88502ff11d.zip
cid#1327137 UrF: Unread field
Change-Id: I146730254b1b6398a7108648608bddea2e915536
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XListBox.java21
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() ;