diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2016-11-14 10:45:23 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-14 08:59:28 +0000 |
commit | 97eaf7bbb6ac66a2d71fe9a8cf962a673ee25b10 (patch) | |
tree | bcbb0389af26c96852bc2991a9f9a248c0a172b2 /svx | |
parent | 450762b224d62ded0c55144fee0796085dd4def3 (diff) |
related: if we're empty, we're back to initial 'sorted' state
commit ae922863c4932be38ef53ae5e985a668724e8f15 followup
Change-Id: Ia9b8749880cc8c2b83dd59b4d7325cd666881c46
Reviewed-on: https://gerrit.libreoffice.org/30837
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdmark.cxx | 2 |
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(); } } |