Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git vcl/source/window/window.cxx vcl/source/window/window.cxx
- index cc8973d..a0771a1 100644
- --- vcl/source/window/window.cxx
- +++ vcl/source/window/window.cxx
- @@ -1395,7 +1395,7 @@ void Window::ImplSetReallyVisible()
- }
- }
- -void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
- +void Window::ImplAddDel( ImplDelData* pDel ) const// TODO: make "const" when incompatibility ok
- {
- if ( IsDisposed() )
- {
- @@ -1406,7 +1406,7 @@ void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompat
- DBG_ASSERT( !pDel->mpWindow, "Window::ImplAddDel(): cannot add ImplDelData twice !" );
- if( !pDel->mpWindow )
- {
- - pDel->mpWindow = this; // #112873# store ref to this window, so pDel can remove itself
- + pDel->mpWindow = const_cast<vcl::Window*>(this); // #112873# store ref to this window, so pDel can remove itself
- pDel->mpNext = mpWindowImpl->mpFirstDel;
- mpWindowImpl->mpFirstDel = pDel;
- }
Add Comment
Please, Sign In to add comment