summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Markle <tmarkle7@gmail.com>2014-02-14 08:47:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-14 18:11:19 +0000
commit760290d2ced985185d5a58fef36c6edbb8d90717 (patch)
tree41a75c202fd0c7bf7cfacfd7e921b378e5b60d49
parent76bdf523981d2bd983dac4e01bc5cc934118a73f (diff)
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/8044 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 8d242755f9ed..f9a1d82d88ab 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -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() )
{