summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-24 14:56:00 +0200
committerPetr Mladek <pmladek@suse.cz>2013-05-07 13:21:02 +0200
commit10ee085f1ab2608de4b262672408c9d1a6867273 (patch)
tree04c17f884e92485f510a6bad48eb9d18ebba2b34 /reportbuilder
parent42b02005250843d413ed1a098099bc6e44c62c3c (diff)
fdo#33091 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 Reviewed-on: https://gerrit.libreoffice.org/3599 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java5
1 files changed, 0 insertions, 5 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 148909876471..9f0340aaf43a 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
+++ b/reportbuilder/java/com/sun/star/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 accomanying value attribute is "string"
else if (!"string".equals(valueType))