diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 3 |
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(); |