From 3a4534be6594c39bf785502e15f2dec22d15b312 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Wed, 24 Apr 2013 14:56:00 +0200 Subject: 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 --- .../report/pentaho/layoutprocessor/TableCellLayoutController.java | 5 ----- 1 file changed, 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)) -- cgit v1.2.3