summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-21 00:48:08 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-22 21:49:20 -0400
commitfec3797262c67e4a7a612e6f1569127569e6f51e (patch)
treeee14c9176cc205622d84bbd1561d4c0ac81cf3df /sc/source/ui/undo
parent9b016fd7e95cfb6789d329cadb94caa0b63ae80d (diff)
Don't forget to re-paint after undo / redo.
Change-Id: If4914265ce2ed2e614d4887cc12f15eb97bd076f
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undocell.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index 0fbeb51cd545..023245a1bc3b 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();
}