diff options
author | Eike Rathke <erack@redhat.com> | 2016-10-26 16:18:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-10-26 16:19:40 +0200 |
commit | 0ebe9fab18e732468d2b9d53dddf9f266411a0e5 (patch) | |
tree | bf7543194a733221ad7566b3f5b12fff0e824fd8 /sc/source/ui/undo | |
parent | 5ac920be30928fca515a1a393ba1b2847c12b07e (diff) |
init ScUndoRemoveMerge with range, tdf#92117 follow-up
So the original selection is restored after Undo.
Change-Id: Ie549a0b62da469ee38270ae089ea5abf9a6868e3
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index ba29368f84b0..46b2ba31db27 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -2114,8 +2114,8 @@ ScUndoRemoveMerge::ScUndoRemoveMerge( ScDocShell* pNewDocShell, } ScUndoRemoveMerge::ScUndoRemoveMerge( ScDocShell* pNewDocShell, - ScDocument* pNewUndoDoc ) : - ScBlockUndo( pNewDocShell, ScRange(), SC_UNDO_SIMPLE ), + const ScRange& rRange, ScDocument* pNewUndoDoc ) : + ScBlockUndo( pNewDocShell, rRange, SC_UNDO_SIMPLE ), pUndoDoc( pNewUndoDoc ) { } |