summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undosort.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undosort.cxx')
-rw-r--r--sc/source/ui/undo/undosort.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undosort.cxx b/sc/source/ui/undo/undosort.cxx
index a4bd1af1c302..c30cd5620106 100644
--- a/sc/source/ui/undo/undosort.cxx
+++ b/sc/source/ui/undo/undosort.cxx
@@ -46,7 +46,7 @@ void UndoSort::Execute( bool bUndo )
ScUndoUtil::MarkSimpleBlock(pDocShell, maParam.maSortRange);
- rDoc.SetDirty(maParam.maSortRange);
+ rDoc.SetDirty(maParam.maSortRange, true);
if (!aParam.mbUpdateRefs)
rDoc.BroadcastCells(aParam.maSortRange, SC_HINT_DATACHANGED);