[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Tue Nov 25 10:05:55 PST 2014


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

New commits:
commit 5cec4ea827570a5bb0a368025f3733b841107d07
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Nov 25 19:02:08 2014 +0100

    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

diff --git a/sc/source/ui/undo/undosort.cxx b/sc/source/ui/undo/undosort.cxx
index ead54d4..a4bd1af 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();
 }
 
 }


More information about the Libreoffice-commits mailing list