call drag end callback after superclass handler

so modifications to the model in a callback can't mangle
DragFinished's expectations.

Change-Id: I9831bbe4fe9c969307c0e7da06d579ddfa22978c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90720
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2020-03-18 20:11:28 +00:00
parent 08ee22ba5b
commit 6388c578c6

View file

@ -93,8 +93,8 @@ public:
virtual void DragFinished(sal_Int8 nDropAction) override
{
m_aEndDragHdl.Call(this);
SvTabListBox::DragFinished(nDropAction);
m_aEndDragHdl.Call(this);
}
virtual void ModelHasCleared() override