[Libreoffice-commits] core.git: sc/source

Timothy Markle tmarkle7 at gmail.com
Fri Feb 14 19:11:41 CET 2014


 sc/source/filter/html/htmlexp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 760290d2ced985185d5a58fef36c6edbb8d90717
Author: Timothy Markle <tmarkle7 at gmail.com>
Date:   Fri Feb 14 08:47:03 2014 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 8d24275..f9a1d82 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() )
     {


More information about the Libreoffice-commits mailing list