diff options
-rw-r--r-- | vcl/source/window/event.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index edfa7fd8c4d8..a0ccb699b1d9 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -548,7 +548,8 @@ void Window::ImplCallMove() vcl::Window *pParent = ImplGetParent(); while( pParent ) { - if( pParent->mpWindowImpl->mpFrame != mpWindowImpl->mpFrame ) + if( pParent->mpWindowImpl && + pParent->mpWindowImpl->mpFrame != mpWindowImpl->mpFrame ) { pParentFrame = pParent->mpWindowImpl->mpFrame; break; |