From 2fcb987a56e56341132d592e366f9a5403c29a41 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Jun 2012 13:02:00 +0200 Subject: [PATCH] Java5 update - convert ArrayList to generics Change-Id: I66cf3fd495485c92bdd9ed400482e7e72d806a89 --- wizards/com/sun/star/wizards/agenda/AgendaTemplate.java | 6 +++--- 1 file 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 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))