summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfly.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-06 20:15:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-06 20:35:48 +0200
commit028b3ad8e19609ad3cb490135eb0dd5bb8eafcfe (patch)
tree1e25773f4bbc2be63e9c6e22d2c4e68ee1720fba /sw/source/filter/html/htmlfly.cxx
parent277922e7a0a4ae8076c10936c4b12df6dcc5ddac (diff)
fdo#58912 HTML export: headers and footers cause non-validating html
Fix it by using harmless title. Change-Id: I238034a23f4a446c69dd3c1408ac5ccf038c73dd
Diffstat (limited to 'sw/source/filter/html/htmlfly.cxx')
-rw-r--r--sw/source/filter/html/htmlfly.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx
index 2abf566ddcdd..b41acc041435 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -1582,8 +1582,8 @@ Writer& OutHTML_HeaderFooter( Writer& rWrt, const SwFrmFmt& rFrmFmt,
rHTMLWrt.OutNewLine();
OStringBuffer sOut;
sOut.append(OOO_STRING_SVTOOLS_HTML_division).append(' ')
- .append(OOO_STRING_SVTOOLS_HTML_O_type).append('=')
- .append(bHeader ? "HEADER" : "FOOTER");
+ .append(OOO_STRING_SVTOOLS_HTML_O_title).append('=')
+ .append( bHeader ? "header" : "footer" );
HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), sOut.makeStringAndClear().getStr() );
rHTMLWrt.IncIndentLevel(); // den Inhalt von Multicol einruecken;