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
This commit is contained in:
Lionel Elie Mamane 2013-04-24 14:56:00 +02:00
parent 3591f5c429
commit 3a4534be65

View File

@ -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))