diff options
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/FieldSelection.java')
-rw-r--r-- | wizards/com/sun/star/wizards/ui/FieldSelection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java index 7317a900669c..46845aa6098e 100644 --- a/wizards/com/sun/star/wizards/ui/FieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java @@ -604,17 +604,17 @@ public class FieldSelection { int MaxOriginalCount = AllFieldNames.length; String[] SelList = xFieldsListBox.getItems(); - Vector<String> NewSourceVector = new Vector<String>(); + ArrayList<String> NewSourceVector = new ArrayList<String>(); for (int i = 0; i < MaxOriginalCount; i++) { SearchString = AllFieldNames[i]; if (JavaTools.FieldInList(SelList, SearchString) != -1) { - NewSourceVector.addElement(SearchString); + NewSourceVector.add(SearchString); } else if (JavaTools.FieldInList(OldSelFieldItems, SearchString) != -1) { - NewSourceVector.addElement(SearchString); + NewSourceVector.add(SearchString); } } xFieldsListBox.removeItems((short) 0, xFieldsListBox.getItemCount()); |