[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - reportbuilder/java

Lionel Elie Mamane lionel at mamane.lu
Fri Apr 26 04:17:42 PDT 2013


 reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 7a4a38895d4e419bf4db57b0668af60b4dc6b595
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Wed Apr 24 14:56:00 2013 +0200

    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 at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

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 1489098..9f0340a 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))


More information about the Libreoffice-commits mailing list