diff options
author | Eike Rathke <erack@redhat.com> | 2014-11-25 19:02:08 +0100 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-11-25 19:53:08 +0000 |
commit | c633627500e408219bbd67639a27489b50d87386 (patch) | |
tree | 6cfe23a00d3791068de2090c4b07f47c6bda942c | |
parent | aa601f94cf39dcdc1aea619d526c894e2697da23 (diff) |
fdo#86708 paint after Undo of Sort
Regression of 10fc138307afb4b39baddb0d56eb8e986e5d29ea that exchanged
the PostPaint with SetDirty, but the paint is also needed.
Change-Id: Ic3e81fa106f405568effaed71ab33b575b4c5c5c
(cherry picked from commit 5cec4ea827570a5bb0a368025f3733b841107d07)
Reviewed-on: https://gerrit.libreoffice.org/13122
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r-- | sc/source/ui/undo/undosort.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undosort.cxx b/sc/source/ui/undo/undosort.cxx index 4a0070787189..f86bdc2b01d7 100644 --- a/sc/source/ui/undo/undosort.cxx +++ b/sc/source/ui/undo/undosort.cxx @@ -49,6 +49,9 @@ void UndoSort::Execute( bool bUndo ) rDoc.SetDirty(maParam.maSortRange); if (!aParam.mbUpdateRefs) rDoc.BroadcastCells(aParam.maSortRange, SC_HINT_DATACHANGED); + + pDocShell->PostPaint(maParam.maSortRange, PAINT_GRID); + pDocShell->PostDataChanged(); } } |