Kaydet (Commit) 476924d4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1327151 UrF: Unread field

Change-Id: Iea1398d6c261659843d060fb0128f7a404beafb7
üst 8293e4a3
......@@ -43,10 +43,8 @@ public class _XButton 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 void disposing(com.sun.star.lang.EventObject e) {
disposingCalled = true ;
}
public void actionPerformed(com.sun.star.awt.ActionEvent e) {}
......
......@@ -45,10 +45,8 @@ public class _XCheckBox 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 void disposing(com.sun.star.lang.EventObject e) {
disposingCalled = true ;
}
public void itemStateChanged(com.sun.star.awt.ItemEvent e) {}
......
......@@ -57,7 +57,6 @@ public class _XDispatch extends MultiMethodTest {
*/
protected static class TestStatusListener implements
com.sun.star.frame.XStatusListener {
public boolean disposingCalled = false ;
public boolean statusChangedCalled = false ;
private final java.io.PrintWriter log;
......@@ -66,7 +65,6 @@ public class _XDispatch extends MultiMethodTest {
}
public void disposing(com.sun.star.lang.EventObject e) {
disposingCalled = true ;
log.println(" disposing was called.") ;
}
......@@ -87,7 +85,6 @@ public class _XDispatch extends MultiMethodTest {
*/
protected static class TestNotificationListener implements
com.sun.star.frame.XDispatchResultListener {
public boolean disposingCalled = false ;
public boolean finishedDispatch = false ;
private final java.io.PrintWriter log;
......@@ -96,7 +93,6 @@ public class _XDispatch extends MultiMethodTest {
}
public void disposing(com.sun.star.lang.EventObject e) {
disposingCalled = true ;
log.println(" disposing was called.") ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment