[PATCH] Change in core[libreoffice-3-6-5]: one more improvement around cond format rendering, fdo#57896

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Wed Jan 16 01:10:48 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1710

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/10/1710/1

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>
---
M sc/source/core/data/conditio.cxx
1 file changed, 4 insertions(+), 1 deletion(-)



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 @@
 void ScConditionalFormat::DoRepaint( const ScRange* pModified )
 {
     if(pModified)
-        pDoc->RepaintRange(*pModified);
+    {
+        if(maRanges.Intersects(*pModified))
+            pDoc->RepaintRange(*pModified);
+    }
     else
     {
         // all conditional format cells

-- 
To view, visit https://gerrit.libreoffice.org/1710
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6-5
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>
Gerrit-Reviewer: Noel Power <noel.power at suse.com>



More information about the LibreOffice mailing list