[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Sun Nov 13 16:22:33 UTC 2016
svx/source/svdraw/svdmark.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ae922863c4932be38ef53ae5e985a668724e8f15
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Nov 12 21:12:27 2016 +0000
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 at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx
index 3f1db23..7db7bbb 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();
}
More information about the Libreoffice-commits
mailing list