summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-03-07 17:50:00 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-03-07 19:06:13 +0100
commita1aa7cfe28c80296d160528a62da33cc031101b0 (patch)
treec650654e36819b729a6f7ec833d08608a2cb2313 /sw/source
parenta64fcdde597514820873817e23eb5cd906cc5b92 (diff)
sw XHTML export: let reqif-xhtml= imply XHTML
An XML namespace for non-XHTML makes little sense. Change-Id: I0ae1b2886a8d81be3c932c9e74aa91cd2e2fa447 Reviewed-on: https://gerrit.libreoffice.org/50905 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/html/wrthtml.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index ad6436de3912..385d41f58e01 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -196,6 +196,8 @@ void SwHTMLWriter::SetupFilterOptions(SfxMedium& rMedium)
if (maNamespace == "reqif-xhtml")
// XHTML is always just a fragment inside ReqIF.
mbSkipHeaderFooter = true;
+ // XHTML namespace implies XHTML.
+ mbXHTML = true;
}
}
}