diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-10-07 09:54:44 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-10-07 11:53:33 +0200 |
commit | c20f23a66010bdfccb2c5c8c2d0be0a9637e476c (patch) | |
tree | 0d121047c95851fbbe6c0fd4e4f3d3ef89f5ac17 /dbaccess | |
parent | 646950f96d8ca8625be53621d8d28c62de5597f5 (diff) |
html export: 4.0 needs type attribute for style tag
Change-Id: Iaa076f639a4da564945385ee616d346c4f0d0889
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 48041db7b003..80194af48dba 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -737,7 +737,8 @@ void OHTMLImportExport::WriteBody() { SAL_INFO("dbaccess.ui", "OHTMLImportExport::WriteBody" ); - IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_style ); + IncIndent(1); + (*m_pStream) << "<" << OOO_STRING_SVTOOLS_HTML_style << " " << OOO_STRING_SVTOOLS_HTML_O_type << "=\"text/css\">"; (*m_pStream) << sMyBegComment; OUT_LF(); (*m_pStream) << OOO_STRING_SVTOOLS_HTML_body " { " << sFontFamily << '"' << OUStringToOString(m_aFont.Name, osl_getThreadTextEncoding()).getStr() << '\"'; |