summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-12 21:12:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-13 16:22:09 +0000
commitae922863c4932be38ef53ae5e985a668724e8f15 (patch)
treebae5bc159f6b1841453f04f059f5307410fda009 /svx
parentc3c08a16f8317266bcb86041d812d8a9821c237f (diff)
if we're empty, we're back to initial 'sorted' state
Change-Id: Id85c670ab40d9d0e9848f91f4f2d14212f52c1a1 Reviewed-on: https://gerrit.libreoffice.org/30795 Tested-by: Jenkins <ci@libreoffice.org> 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx
index 3f1db23bdf4b..7db7bbb50935 100644
--- a/svx/source/svdraw/svdmark.cxx
+++ b/svx/source/svdraw/svdmark.cxx
@@ -213,8 +213,8 @@ void SdrMarkList::Clear()
SdrMark* pMark = GetMark(i);
delete pMark;
}
-
maList.clear();
+ mbSorted = true; //we're empty, so can be considered sorted
SetNameDirty();
}