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