diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-24 14:56:00 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-24 19:27:24 +0200 |
commit | 3a4534be6594c39bf785502e15f2dec22d15b312 (patch) | |
tree | 2ce7019891e7124c007d53988708a2ffcf0b4511 /reportbuilder | |
parent | 3591f5c429d8d5f0f2afc136c03b114e26ae1bb1 (diff) |
fdo#330191 a NULL value of float type is not NaN
but it is *still* NULL.
This was initially done to "fix" i#108092,
but i#112652 comment 13 suggests this may have been fixed more cleanly.
Change-Id: I2b76af2182715bc489cb89dd45d6b77d5038b506
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java index dd07f8b2133d..79b5be615073 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -73,11 +73,6 @@ public class TableCellLayoutController extends SectionLayoutController { FormatValueUtility.applyValueForCell(value.getValue(), attributeMap, valueType); } - else if ( "float".equals(valueType)) - { - attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, - FormatValueUtility.VALUE, "NaN"); - } // #i114108#: except on form elements, the only value-type that can // occur without an accompanying value attribute is "string" else if (!"string".equals(valueType)) |