accidentially reverted fix for tdf#96745
Change-Id: I52380248002f6c41f0c6f154f913b05ef32b93d3
This commit is contained in:
parent
f2d18f8a71
commit
a779d979b9
1 changed files with 3 additions and 3 deletions
|
@ -957,9 +957,9 @@ bool ImplStdBorderWindowView::Tracking( const TrackingEvent& rTEvt )
|
|||
{
|
||||
// dispatch to correct window type (why is Close() not virtual ??? )
|
||||
// TODO: make Close() virtual
|
||||
vcl::Window *pWin = pBorderWindow->ImplGetClientWindow()->ImplGetWindow();
|
||||
SystemWindow *pSysWin = dynamic_cast<SystemWindow* >(pWin);
|
||||
DockingWindow *pDockWin = dynamic_cast<DockingWindow*>(pWin);
|
||||
VclPtr<vcl::Window> pWin = pBorderWindow->ImplGetClientWindow()->ImplGetWindow();
|
||||
SystemWindow *pSysWin = dynamic_cast<SystemWindow* >(pWin.get());
|
||||
DockingWindow *pDockWin = dynamic_cast<DockingWindow*>(pWin.get());
|
||||
if ( pSysWin )
|
||||
pSysWin->Close();
|
||||
else if ( pDockWin )
|
||||
|
|
Loading…
Reference in a new issue