summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-08-27 12:23:43 +0200
committerMichael Stahl <mst@openoffice.org>2010-08-27 12:23:43 +0200
commit2a44c3167e5f24b5e8fa620be479c506c8a607be (patch)
tree97554c18031d12f4b073233a27cb7699429b5a50 /reportbuilder
parented8de3fa36df557b3d520e93c1af4b6748056d01 (diff)
dba33h: #i112652#: reportbuilder: write XMLSchema-2 conformant NaN
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
index 74fe1728fc5f..506ea6347d4a 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
@@ -81,7 +81,8 @@ public class TableCellLayoutController extends SectionLayoutController
}
else if ( "float".equals(valueType))
{
- attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, FormatValueUtility.VALUE, "1.#NAN");
+ attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS,
+ FormatValueUtility.VALUE, "NaN");
}
}
catch (Exception e)