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:14:14 +0100 |
commit | f5e29978a8aa0260f91a9a7f5a648c602b9bad7d (patch) | |
tree | 1fc0671131cfebe5340fcef7086b0dd968bcac44 /sc/source/core/data/conditio.cxx | |
parent | 350ae8294a8df78403fd8cdce56b9aeb8178e130 (diff) |
one more improvement around cond format rendering, fdo#57896
Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
Diffstat (limited to 'sc/source/core/data/conditio.cxx')
-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 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 |