summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-26 04:09:31 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-26 04:14:14 +0100
commitf5e29978a8aa0260f91a9a7f5a648c602b9bad7d (patch)
tree1fc0671131cfebe5340fcef7086b0dd968bcac44
parent350ae8294a8df78403fd8cdce56b9aeb8178e130 (diff)
one more improvement around cond format rendering, fdo#57896
Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
-rw-r--r--sc/source/core/data/conditio.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index f72fa7316b30..b0e99cb9cdb9 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -1973,7 +1973,10 @@ void ScConditionalFormat::dumpInfo(rtl::OUStringBuffer& rBuf) const
void ScConditionalFormat::DoRepaint( const ScRange* pModified )
{
if(pModified)
- pDoc->RepaintRange(*pModified);
+ {
+ if(maRanges.Intersects(*pModified))
+ pDoc->RepaintRange(*pModified);
+ }
else
{
// all conditional format cells