Kaydet (Commit) 760290d2 authored tarafından Timothy Markle's avatar Timothy Markle Kaydeden (comit) Caolán McNamara

Remove deprecated text attribute from <body> in calc export to html

Text attribute was used to set text color to black. Should be in css and most browsers default to black.

Change-Id: I966057ca97e2622cc51727ab64796fe36a33d6c4
Reviewed-on: https://gerrit.libreoffice.org/8044Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 76bdf523
......@@ -559,7 +559,7 @@ void ScHTMLExport::WriteBody()
const SvxBrushItem* pBrushItem = (const SvxBrushItem*)&rSet.Get( ATTR_BACKGROUND );
// default text color black
rStrm.WriteChar( '<' ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_body ).WriteChar( ' ' ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_O_text ).WriteCharPtr( "=\"#000000\"" );
rStrm.WriteChar( '<' ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_body );
if ( bAll && GPOS_NONE != pBrushItem->GetGraphicPos() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment