From ae922863c4932be38ef53ae5e985a668724e8f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 12 Nov 2016 21:12:27 +0000 Subject: [PATCH] if we're empty, we're back to initial 'sorted' state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id85c670ab40d9d0e9848f91f4f2d14212f52c1a1 Reviewed-on: https://gerrit.libreoffice.org/30795 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/svdraw/svdmark.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }