summaryrefslogtreecommitdiffstats
path: root/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@oracle.com>2010-08-30 11:26:49 +0200
committerOcke Janssen [oj] <Ocke.Janssen@oracle.com>2010-08-30 11:26:49 +0200
commit2ba3b618bea27646eec902ac33f0b713eddf47a3 (patch)
tree5e60f33f01bfa95af8cdd231953e7094a440a60d /reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java
parentdba33h: #i112652#: reportbuilder: write XMLSchema-2 conformant NaN (diff)
downloadcore-2ba3b618bea27646eec902ac33f0b713eddf47a3.tar.gz
core-2ba3b618bea27646eec902ac33f0b713eddf47a3.zip
dba33h: #i114105# fix version number
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java3
1 files changed, 2 insertions, 1 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 9b2e6b33b5f7..7c2671921d3f 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java
@@ -374,7 +374,8 @@ public class StylesWriter
rootAttributes.addNamespaceDeclaration("xsd", OfficeNamespaces.XSD_NS);
rootAttributes.addNamespaceDeclaration("xsi", OfficeNamespaces.XSI_NS);
rootAttributes.addNamespaceDeclaration("grddl", OfficeNamespaces.GRDDL_NS);
- rootAttributes.setAttribute(OfficeNamespaces.OFFICE_NS, "version", "1.2");
+ rootAttributes.setAttribute(OfficeNamespaces.OFFICE_NS, "version",
+ OfficeDocumentReportTarget.ODF_VERSION);
this.xmlWriter.writeXmlDeclaration("UTF-8");
this.xmlWriter.writeTag(OfficeNamespaces.OFFICE_NS,