You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2013/12/02 15:14:14 UTC
svn commit: r1547026 - /openoffice/trunk/main/vcl/source/window/dockwin.cxx
Author: alg
Date: Mon Dec 2 14:14:13 2013
New Revision: 1547026
URL: http://svn.apache.org/r1547026
Log:
i123765 reset buffered DropTarget when undocking
Modified:
openoffice/trunk/main/vcl/source/window/dockwin.cxx
Modified: openoffice/trunk/main/vcl/source/window/dockwin.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/window/dockwin.cxx?rev=1547026&r1=1547025&r2=1547026&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/window/dockwin.cxx (original)
+++ openoffice/trunk/main/vcl/source/window/dockwin.cxx Mon Dec 2 14:14:13 2013
@@ -864,6 +864,11 @@ void DockingWindow::SetFloatingMode( sal
// 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;