summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-18 19:31:28 +0200
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-09-18 15:09:58 -0400
commite80b2d5d6caf50f9c7f48e1b532e7d6fddeb4e45 (patch)
tree732373e833ea79966698db0fe7dabeb83c369974
parente12546da1a88ecef130a3a6842820bc7ebb2a851 (diff)
rows with cond formats don't have empty background, fdo#54661, fdo#52535
Change-Id: Iecab7e80c533caa4e36b6d2534d8446c0329fecd Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
-rw-r--r--sc/source/core/data/fillinfo.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 4b29883ef874..fbc2d64d23eb 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -495,6 +495,8 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX
RowInfo* pThisRowInfo = &pRowInfo[nArrY];
if (pBackground != pDefBackground) // Spalten-HG == Standard ?
pThisRowInfo->bEmptyBack = false;
+ if (pCondForm)
+ pThisRowInfo->bEmptyBack = false;
if (bAutoFilter)
pThisRowInfo->bAutoFilter = true;
if (bPushButton)