summaryrefslogtreecommitdiff
path: root/reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java b/reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java
index 1305ed00cdfb..41b045d3c2d1 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles.java
@@ -39,12 +39,12 @@ import org.jfree.report.structure.Section;
public class OfficeMasterStyles extends Element
{
- private final Map masterPages;
+ private final Map<String,OfficeMasterPage> masterPages;
private final Section otherNodes;
public OfficeMasterStyles()
{
- masterPages = new HashMap();
+ masterPages = new HashMap<String,OfficeMasterPage>();
otherNodes = new Section();
}
@@ -59,12 +59,12 @@ public class OfficeMasterStyles extends Element
public OfficeMasterPage getMasterPage(final String name)
{
- return (OfficeMasterPage) masterPages.get(name);
+ return masterPages.get(name);
}
public OfficeMasterPage[] getAllMasterPages()
{
- return (OfficeMasterPage[]) masterPages.values().toArray(new OfficeMasterPage[masterPages.size()]);
+ return masterPages.values().toArray(new OfficeMasterPage[masterPages.size()]);
}
public Section getOtherNodes()