diff options
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java')
-rw-r--r-- | reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java index 6acd6d9494ab..29c7e239ad28 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection.java @@ -40,7 +40,7 @@ public class VariablesCollection private VariablesCollection parent; private String namePrefix; - private List variables; + private List<FormattedTextElement> variables; public VariablesCollection(final String namePrefix) { @@ -56,7 +56,7 @@ public class VariablesCollection this.namePrefix = namePrefix; this.parent = parent; - this.variables = new ArrayList(); + this.variables = new ArrayList<FormattedTextElement>(); } public VariablesCollection getParent() @@ -78,7 +78,7 @@ public class VariablesCollection public FormattedTextElement[] getVariables() { - return (FormattedTextElement[]) variables.toArray(new FormattedTextElement[variables.size()]); + return variables.toArray(new FormattedTextElement[variables.size()]); } public int getVariablesCount() |