summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-12 15:42:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-16 09:54:13 +0200
commit8a2f7704cd0e43304e54bf2281232335cc0979a3 (patch)
treea8357d52e613dbff7bd4b6097f75be6871863ce6 /svtools
parent7dc9fb33db45c269fece6cfec993b124491c68f6 (diff)
drop LazyDeletor
Change-Id: I7d2e00466f321994a46b0529d645e342f229c929 Reviewed-on: https://gerrit.libreoffice.org/61718 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index 9d5b5c98bbdc..14f1cfc382f5 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -81,7 +81,8 @@ void PopupWindowControllerImpl::SetFloatingWindow()
mpFloatingWindow->RemoveEventListener( LINK( this, PopupWindowControllerImpl, WindowEventListener ) );
// tdf#119390 reparent the window, so focus is restored
// to the last focused control of the application window.
- mpFloatingWindow->doLazyDelete();
+ mpFloatingWindow->SetParentToDefaultWindow();
+ mpFloatingWindow.disposeAndClear();
}
mpFloatingWindow = mpPopupWindow;
mpPopupWindow.clear();