diff options
Diffstat (limited to 'sc/source/ui/undo/undosort.cxx')
-rw-r--r-- | sc/source/ui/undo/undosort.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undosort.cxx b/sc/source/ui/undo/undosort.cxx index 4ff0960b7413..36156fe4c97d 100644 --- a/sc/source/ui/undo/undosort.cxx +++ b/sc/source/ui/undo/undosort.cxx @@ -48,6 +48,8 @@ void UndoSort::Execute( bool bUndo ) pDocShell->PostPaint(maParam.maSortRange, PAINT_GRID); pDocShell->PostDataChanged(); + if (!aParam.mbUpdateRefs) + rDoc.BroadcastCells(aParam.maSortRange, SC_HINT_DATACHANGED); } } |