diff options
Diffstat (limited to 'reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java index 6883482a8c12..a9e0ef058b38 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -74,11 +74,12 @@ public class TableCellLayoutController extends SectionLayoutController FormatValueUtility.applyValueForCell(value.getValue(), attributeMap, valueType); } // #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"; + // the content is then in the body. else if (!"string".equals(valueType)) { attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, - FormatValueUtility.VALUE_TYPE, "void"); + FormatValueUtility.VALUE_TYPE, "string"); } } catch (Exception e) |