diff options
author | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-08-30 11:28:34 +0200 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-08-30 11:28:34 +0200 |
commit | 2d9f7d9a9104a0679fb303e58b24a973f8a0a0ad (patch) | |
tree | a474cc9a29039364e1a9467fd28367c6387b141e /reportbuilder/java | |
parent | 2ba3b618bea27646eec902ac33f0b713eddf47a3 (diff) |
dba33h: #i114106# fix invalid root element for styles
Diffstat (limited to 'reportbuilder/java')
-rw-r--r-- | reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java b/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java index 7c2671921d3f..54b7d0d0159c 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java @@ -117,11 +117,11 @@ public class StylesWriter { globals }); - writeAutomaticStylesSection(new OfficeStylesCollection[] + writeCommonStylesSection(new OfficeStylesCollection[] { globals }); - writeCommonStylesSection(new OfficeStylesCollection[] + writeAutomaticStylesSection(new OfficeStylesCollection[] { globals }); @@ -379,7 +379,7 @@ public class StylesWriter this.xmlWriter.writeXmlDeclaration("UTF-8"); this.xmlWriter.writeTag(OfficeNamespaces.OFFICE_NS, - "document-content", rootAttributes, XmlWriterSupport.OPEN); + "document-styles", rootAttributes, XmlWriterSupport.OPEN); } public void close() |