[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 15 03:26:57 PST 2013


 sc/source/core/data/conditio.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit f0b733be07a8ea79b65489e0a46b86736436185c
Author: Markus Mohrhard <markus.mohrhard at 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.power at suse.com>
    Tested-by: Noel Power <noel.power at 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


More information about the Libreoffice-commits mailing list