summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undosort.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-12-03 17:47:35 +0100
committerEike Rathke <erack@redhat.com>2014-12-03 18:40:47 +0100
commit632fae27880f552fb20598805a1e15a6d0c35199 (patch)
treeda8f9a51d487ddcf5c0d89297fb54420fd4663cf /sc/source/ui/undo/undosort.cxx
parent8525d2327b5b64edabb9a9f5a7e1e659b0fdd2ed (diff)
remove boolean parameter default from ScDocument::SetDirty
... and force the caller to make a decision. In fact some needed to include empty cells. Change-Id: I82b6ef72f7ecda6543b3cafc70f475519870b471 (cherry picked from commit 135b8d6466ade1e8724e604f705f95cecf4c4881)
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);