diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 13:02:00 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:00 +0200 |
commit | 2fcb987a56e56341132d592e366f9a5403c29a41 (patch) | |
tree | c36f801744b01fa7b7df002cea0e4a1ccca2ce05 /wizards | |
parent | 9726ba569b577f9cb78e5d2e35fd928e230208c1 (diff) |
Java5 update - convert ArrayList to generics
Change-Id: I66cf3fd495485c92bdd9ed400482e7e72d806a89
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/agenda/AgendaTemplate.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java index 5f9e3db1348c..9df88a06181c 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java +++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.java @@ -774,10 +774,10 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data String time; // first I replace the minutes titles... - List items = searchFillInItems(); + List<XTextRange> items = searchFillInItems(); for (int itemIndex = 0; itemIndex < items.size(); itemIndex++) { - item = (XTextRange) items.get(itemIndex); + item = items.get(itemIndex); itemText = item.getString().trim().toLowerCase(); if (itemText.equals(FILLIN_MINUTES_TITLE)) @@ -814,7 +814,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data items = searchFillInItems(); for (int itemIndex = 0; itemIndex < items.size(); itemIndex++) { - item = (XTextRange) items.get(itemIndex); + item = items.get(itemIndex); itemText = item.getString().trim().toLowerCase(); if (itemText.equals(FILLIN_MINUTE_NUM)) |