diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-21 00:29:23 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-22 21:49:20 -0400 |
commit | 4223e45a0cdf3dc589d0aaf3de2c9abba0ee64cd (patch) | |
tree | 34e822890d0685450497d29dbe3d3fb57449bdfa /sc/source | |
parent | 3dd9f732afc7083809794e7626b11a4b7ca6dae5 (diff) |
I think I need to add these just like all the other undo classes do.
Change-Id: Ia5dc41027c144b771a4071a35b7ed699ea00cfb0
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 76fa36e56d5c..b7dfef5c9454 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -550,12 +550,16 @@ ScUndoSetCell::~ScUndoSetCell() {} void ScUndoSetCell::Undo() { + BeginUndo(); SetValue(maOldValue); + EndUndo(); } void ScUndoSetCell::Redo() { + BeginRedo(); SetValue(maNewValue); + EndRedo(); } void ScUndoSetCell::Repeat( SfxRepeatTarget& /*rTarget*/ ) |