diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-26 04:09:31 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-26 04:16:58 +0100 |
commit | 7c528f40e0aea9386d175b007974c02d265f96c6 (patch) | |
tree | dbac20137970d3f92287def3e0f90fab50692988 | |
parent | 53a5bf7529255e59d63645ee6a453ed56df39a9d (diff) |
one more improvement around cond format rendering, fdo#57896
Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
-rw-r--r-- | sc/source/core/data/conditio.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 3dcc3be53f9a..016c5e9422bc 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 |