diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 09:51:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 10:09:34 +0000 |
commit | 7e06965243d1e3a98519c659b7ad580d1ff46ab5 (patch) | |
tree | a8b10c57a67d5752c68efbd9a26be997b3c14fb5 /qadevOOo | |
parent | aa8c854590e76a437521596c566ce1327efffb6e (diff) |
coverity#1327093 UrF: Unread field
Change-Id: I354f29592e6bd036d9a548c7c2c3a3722c8c9450
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java index c7400e493adf..519cd2513676 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java @@ -81,9 +81,6 @@ public class _XTreeControl extends MultiMethodTest { boolean mTreeCollapsed2 = false; boolean mTreeCollapsing2 = false; - boolean mTreeNodeEditing1 = false; - boolean mTreeNodeEdit1 = false; - public interface XTreeDataModelListenerEvent{ void fireEvent(); } @@ -152,12 +149,10 @@ public class _XTreeControl extends MultiMethodTest { public class TreeEditListenerImpl1 implements XTreeEditListener{ public void nodeEditing(XTreeNode xTreeNode) throws VetoException { log.println("event at EditListener 1: nodeEditing"); - mTreeNodeEditing1 = true; } public void nodeEdited(XTreeNode xTreeNode, String string) { log.println("event at EditListener 1: nodeEdited"); - mTreeNodeEdit1 = true; } public void disposing(EventObject eventObject) { @@ -190,11 +185,6 @@ public class _XTreeControl extends MultiMethodTest { mTreeCollapsing2 = false; } - private void resetEditListener(){ - mTreeNodeEditing1 = false; - mTreeNodeEdit1 = false; - } - @Override public void before(){ mXNode = (XMutableTreeNode) tEnv.getObjRelation("XTreeControl_Node"); @@ -569,10 +559,7 @@ public class _XTreeControl extends MultiMethodTest { log.println("add EditListener 2...."); oObj.addTreeEditListener(mTreeEditListener2); - resetEditListener(); - try { - oObj.startEditingAtNode(mXNode); } catch (com.sun.star.lang.IllegalArgumentException ex) { log.println("ERROR: could not start editing at node: " + ex.toString()); |