From 7e06965243d1e3a98519c659b7ad580d1ff46ab5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Feb 2016 09:51:47 +0000 Subject: coverity#1327093 UrF: Unread field Change-Id: I354f29592e6bd036d9a548c7c2c3a3722c8c9450 --- qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'qadevOOo') 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()); -- cgit