summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-03-24 16:38:18 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-03-24 20:05:13 +0100
commitab6a7a9addfc059d8f1fbeaa6c6012666629d420 (patch)
treeae157e4669023a3e934189644f69a07cb52cbb74 /sw/source/filter
parenta7cf7da8d21d3d4d54bd532f07fc0c4712239dbb (diff)
sw reqif-xhtml export: fix unexpected height for <td>
The ReqIF validator complains about this, similar to the already disabled width. Change-Id: I05137a9dcc7e94bffe92269e98d310724a144b24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113061 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/htmltabw.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index 4c83319747b7..8c1ace39bc2e 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -380,6 +380,12 @@ void SwHTMLWrtTable::OutTableCell( SwHTMLWriter& rWrt,
sOut.append("\"");
}
+ if (rWrt.mbReqIF)
+ {
+ // ReqIF implies strict XHTML: no height for <td>.
+ nHeight = 0;
+ }
+
if( nHeight )
{
sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_height)