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:
@@ -73,11 +73,6 @@ public class TableCellLayoutController extends SectionLayoutController
|
|||||||
{
|
{
|
||||||
FormatValueUtility.applyValueForCell(value.getValue(), attributeMap, valueType);
|
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
|
// #i114108#: except on form elements, the only value-type that can
|
||||||
// occur without an accompanying value attribute is "string"
|
// occur without an accompanying value attribute is "string"
|
||||||
else if (!"string".equals(valueType))
|
else if (!"string".equals(valueType))
|
||||||
|
Reference in New Issue
Block a user