[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/koffice-essen/libs/odf
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-12-04 23:52:32
Message-ID: 20101204235232.66BB7AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1203647 by clicea:

Only save the background of the cell if the background color is not null. Otherwise the color
is undefined.

 M  +2 -0      KoCellStyle.cpp  


--- branches/work/koffice-essen/libs/odf/KoCellStyle.cpp #1203646:1203647
@@ -77,5 +77,7 @@
 void KoCellStyle::prepareStyle( KoGenStyle& style ) const
 {
     m_borders->saveOdf(style);
+    if(m_backgroundColor.isValid()) {
     style.addProperty("fo:background-color", m_backgroundColor.name());
 }
+}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic