summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-12-02 14:14:13 +0000
committerArmin Le Grand <alg@apache.org>2013-12-02 14:14:13 +0000
commit8d679227fafe9108c4dc6e8adff85a727e4ef3af (patch)
treea88b911aae9e17e5f890882d060baa2664a0c7a8 /vcl/source
parentfc561f8c79bc84b168fa339c1dc15a56a8e43b81 (diff)
i123765 reset buffered DropTarget when undocking
Notes
Notes: merged as: 032a4f6b2d771dd4e1b4a1ceee7c3ef15ca356eb
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/dockwin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index bee7abff522c..8992486fd438 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -864,6 +864,11 @@ void DockingWindow::SetFloatingMode( sal_Bool bFloatMode )
// BorderWindow den Parent umsetzen
if ( mpOldBorderWin )
mpOldBorderWin->SetParent( pWin );
+
+ // #123765# reset the buffered DropTargets when undocking, else it may not
+ // be correctly initialized
+ mpWindowImpl->mxDNDListenerContainer.clear();
+
SetParent( pWin );
SetPosPixel( Point() );
mpWindowImpl->mpBorderWindow = pWin;