sc/source/core/data/conditio.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit f0b733be07a8ea79b65489e0a46b86736436185c Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Wed Dec 26 04:09:31 2012 +0100 one more improvement around cond format rendering, fdo#57896 Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1 Reviewed-on: https://gerrit.libreoffice.org/1684 Reviewed-by: Noel Power <noel.po...@suse.com> Tested-by: Noel Power <noel.po...@suse.com> diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 0ab670b..1a056ea 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -1520,7 +1520,10 @@ bool lcl_CutRange( ScRange& rRange, const ScRange& rOther ) void ScConditionalFormat::DoRepaint( const ScRange* pModified ) { if(pModified) - pDoc->RepaintRange(*pModified); + { + if(maRanges.Intersects(*pModified)) + pDoc->RepaintRange(*pModified); + } else { // all conditional format cells _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits