Kaydet (Commit) 032a4f6b authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Resolves: #i123765# reset buffered DropTarget when undocking

(cherry picked from commit 8d679227)

Change-Id: Ia6fba705d91157afea30693fa7078aabc96f02ac
üst 3a437bae
...@@ -827,6 +827,11 @@ void DockingWindow::SetFloatingMode( sal_Bool bFloatMode ) ...@@ -827,6 +827,11 @@ void DockingWindow::SetFloatingMode( sal_Bool bFloatMode )
// BorderWindow den Parent umsetzen // BorderWindow den Parent umsetzen
if ( mpOldBorderWin ) if ( mpOldBorderWin )
mpOldBorderWin->SetParent( pWin ); mpOldBorderWin->SetParent( pWin );
// #i123765# reset the buffered DropTargets when undocking, else it may not
// be correctly initialized
mpWindowImpl->mxDNDListenerContainer.clear();
SetParent( pWin ); SetParent( pWin );
SetPosPixel( Point() ); SetPosPixel( Point() );
mpWindowImpl->mpBorderWindow = pWin; mpWindowImpl->mpBorderWindow = pWin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment