diff options
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/bridge/org/openoffice/java/accessibility/AccessibleEditableTextImpl.java | 2 | ||||
-rw-r--r-- | accessibility/bridge/org/openoffice/java/accessibility/Menu.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleEditableTextImpl.java b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleEditableTextImpl.java index 2c23c0a2f921..c99608144910 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleEditableTextImpl.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleEditableTextImpl.java @@ -104,7 +104,7 @@ public class AccessibleEditableTextImpl extends AccessibleTextImpl implements ja /** Sets the attributes for the text between two indices */ public void setAttributes(int startIndex, int endIndex, javax.swing.text.AttributeSet as) { - java.util.Vector propertyValues = new java.util.Vector(); + java.util.ArrayList propertyValues = new java.util.ArrayList(); // Convert Alignment attribute Object attribute = as.getAttribute(StyleConstants.Alignment); diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Menu.java b/accessibility/bridge/org/openoffice/java/accessibility/Menu.java index 4f1aaeb4f620..ecf2df9497d3 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Menu.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Menu.java @@ -24,7 +24,7 @@ import com.sun.star.uno.UnoRuntime; public class Menu extends AbstractButton implements javax.accessibility.Accessible { - private java.util.Vector children; + private java.util.ArrayList children; protected XAccessibleSelection unoAccessibleSelection = null; protected Menu(XAccessible xAccessible, @@ -34,7 +34,7 @@ public class Menu extends AbstractButton try { // Create a vector with the correct initial capacity int count = unoAccessibleContext.getAccessibleChildCount(); - children = new java.util.Vector(count); + children = new java.util.ArrayList(count); // Fill the vector with objects for (int i = 0; i < count; i++) { @@ -52,7 +52,7 @@ public class Menu extends AbstractButton } if (children == null) { - children = new java.util.Vector(0); + children = new java.util.ArrayList(0); } } catch (com.sun.star.lang.IndexOutOfBoundsException e) { } |