[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Wed Mar 20 21:46:06 PDT 2013


 sc/source/ui/undo/undocell.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d0125095617429598cefdaf5035a4be39e0b362e
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Thu Mar 21 00:48:08 2013 -0400

    Don't forget to re-paint after undo / redo.
    
    Change-Id: If4914265ce2ed2e614d4887cc12f15eb97bd076f

diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index 0fbeb51..023245a 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -469,6 +469,7 @@ void ScUndoSetCell::Undo()
 {
     BeginUndo();
     SetValue(maOldValue);
+    pDocShell->PostPaintCell(maPos);
     EndUndo();
 }
 
@@ -476,6 +477,7 @@ void ScUndoSetCell::Redo()
 {
     BeginRedo();
     SetValue(maNewValue);
+    pDocShell->PostPaintCell(maPos);
     EndRedo();
 }
 


More information about the Libreoffice-commits mailing list