summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-24 14:56:00 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-26 11:17:22 +0000
commit7a4a38895d4e419bf4db57b0668af60b4dc6b595 (patch)
tree419aaf655f85ecabba193db554af726111104852 /reportbuilder
parentddbe7cd615689797ef8029c29a8eaeafd610ad09 (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))