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

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Mon Jan 14 23:08:12 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1684

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/84/1684/1

one more improvement around cond format rendering, fdo#57896

Change-Id: I5eb267ec2d1666edd53f5b9d58fd2a0cec044aa1
---
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/1684
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
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list