summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index e62f18352f1c..65bdcfbc4030 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -1068,6 +1068,7 @@ void AddressMultiLineEdit::EndDropTarget()
{
if (m_xDropTarget.is())
{
+ m_xEditEngine->RemoveView(m_xEditView.get());
auto xRealDropTarget = GetDrawingArea()->get_drop_target();
uno::Reference<css::datatransfer::dnd::XDropTargetListener> xListener(m_xDropTarget, uno::UNO_QUERY);
xRealDropTarget->removeDropTargetListener(xListener);