Kaydet (Commit) 76c10920 authored tarafından Noel Grandin's avatar Noel Grandin

java: remove unused parameters

Change-Id: I9ae22afc27ac0d2051f06885f363845e9b4ce2ff
üst ebe8dbe0
...@@ -242,7 +242,7 @@ public class AccessibilityTreeModel ...@@ -242,7 +242,7 @@ public class AccessibilityTreeModel
// index relative to its parent. Therefore the // index relative to its parent. Therefore the
// more expensive fireTreeStructureChanged is // more expensive fireTreeStructureChanged is
// necessary. // necessary.
fireTreeNodesInserted (createEvent (xParent, xChild)); fireTreeNodesInserted (createChildUpdateEvent (xParent));
updateNode (xParent, AccessibleTreeHandler.class); updateNode (xParent, AccessibleTreeHandler.class);
} }
maCanvas.repaint (); maCanvas.repaint ();
...@@ -344,7 +344,7 @@ public class AccessibilityTreeModel ...@@ -344,7 +344,7 @@ public class AccessibilityTreeModel
/** Create a TreeModelEvent object that informs listeners that one child /** Create a TreeModelEvent object that informs listeners that one child
has been removed from or inserted into its parent. has been removed from or inserted into its parent.
*/ */
public TreeModelEvent createEvent (XAccessibleContext xParent, XAccessible xChild) public TreeModelEvent createChildUpdateEvent (XAccessibleContext xParent)
{ {
AccessibleTreeNode aParentNode = maNodeMap.GetNode (xParent); AccessibleTreeNode aParentNode = maNodeMap.GetNode (xParent);
return createEvent (aParentNode, xParent); return createEvent (aParentNode, xParent);
......
...@@ -75,7 +75,7 @@ public class UnoDialog2 extends UnoDialog ...@@ -75,7 +75,7 @@ public class UnoDialog2 extends UnoDialog
return insertButton(sName, actionPerformed, this, sPropNames, oPropValues); return insertButton(sName, actionPerformed, this, sPropNames, oPropValues);
} }
public XButton insertImageButton(String sName, com.sun.star.awt.XActionListener actionPerformed, Object eventTarget, String[] sPropNames, Object[] oPropValues) public XButton insertImageButton(String sName, com.sun.star.awt.XActionListener actionPerformed, String[] sPropNames, Object[] oPropValues)
{ {
XButton xButton = (XButton) insertControlModel2("com.sun.star.awt.UnoControlButtonModel", sName, sPropNames, oPropValues, XButton.class); XButton xButton = (XButton) insertControlModel2("com.sun.star.awt.UnoControlButtonModel", sName, sPropNames, oPropValues, XButton.class);
...@@ -87,11 +87,6 @@ public class UnoDialog2 extends UnoDialog ...@@ -87,11 +87,6 @@ public class UnoDialog2 extends UnoDialog
return xButton; return xButton;
} }
public XButton insertImageButton(String sName, com.sun.star.awt.XActionListener actionPerformed, String[] sPropNames, Object[] oPropValues)
{
return insertImageButton(sName, actionPerformed, this, sPropNames, oPropValues);
}
public XCheckBox insertCheckBox(String sName, String itemChanged, Object eventTarget, String[] sPropNames, Object[] oPropValues) public XCheckBox insertCheckBox(String sName, String itemChanged, Object eventTarget, String[] sPropNames, Object[] oPropValues)
{ {
......
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