diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dockwin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 966b6c326143..273f6344cdfa 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -827,6 +827,11 @@ void DockingWindow::SetFloatingMode( sal_Bool bFloatMode ) // BorderWindow den Parent umsetzen if ( mpOldBorderWin ) mpOldBorderWin->SetParent( pWin ); + + // #i123765# reset the buffered DropTargets when undocking, else it may not + // be correctly initialized + mpWindowImpl->mxDNDListenerContainer.clear(); + SetParent( pWin ); SetPosPixel( Point() ); mpWindowImpl->mpBorderWindow = pWin; |