diff options
author | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-08-30 11:31:28 +0200 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@oracle.com> | 2010-08-30 11:31:28 +0200 |
commit | 42af84d9127d16c33e1efdb8b3cb9dc02b9364b3 (patch) | |
tree | 90d724a3d0c8132bc7a1c83a7be8c1de872b1889 /reportbuilder | |
parent | 2d9f7d9a9104a0679fb303e58b24a973f8a0a0ad (diff) |
dba33h: #i114106# fix missing value-type
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java | 7 |
1 files changed, 7 insertions, 0 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 506ea6347d4a..f3c5ef383057 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -84,6 +84,13 @@ public class TableCellLayoutController extends SectionLayoutController 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)) + { + attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, + FormatValueUtility.VALUE_TYPE, "string"); + } } catch (Exception e) { |