diff options
-rw-r--r-- | toolkit/test/accessibility/Canvas.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/test/accessibility/Canvas.java b/toolkit/test/accessibility/Canvas.java index e2e1fabf0810..c254ed62c5e8 100644 --- a/toolkit/test/accessibility/Canvas.java +++ b/toolkit/test/accessibility/Canvas.java @@ -116,9 +116,9 @@ class Canvas int i = maNodes.indexOf (aNode); if( i != -1 ) { - Object aObject = maObjects.get(aNode); + CanvasShape aObject = maObjects.get(aNode); maObjectList.remove (aObject); - maObjects.remove (aObject); + maObjects.remove (aNode); maNodes.remove (aNode); repaint (); } |