vcl/source/window/dockwin.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 032a4f6b2d771dd4e1b4a1ceee7c3ef15ca356eb
Author: Armin Le Grand <a...@apache.org>
Date:   Mon Dec 2 14:14:13 2013 +0000

    Resolves: #i123765# reset buffered DropTarget when undocking
    
    (cherry picked from commit 8d679227fafe9108c4dc6e8adff85a727e4ef3af)
    
    Change-Id: Ia6fba705d91157afea30693fa7078aabc96f02ac

diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 966b6c3..273f634 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to