summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/svdraw/svdmark.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx
index 7db7bbb50935..66e5f6eb71b0 100644
--- a/svx/source/svdraw/svdmark.cxx
+++ b/svx/source/svdraw/svdmark.cxx
@@ -336,6 +336,8 @@ void SdrMarkList::DeleteMark(size_t nNum)
{
maList.erase(maList.begin() + nNum);
delete pMark;
+ if (maList.empty())
+ mbSorted = true; //we're empty, so can be considered sorted
SetNameDirty();
}
}