diff options
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index bf8973114185..7334d423e9bc 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -337,6 +337,8 @@ void Window::EndTracking( TrackingEventFlags nFlags ) bool Window::IsTracking() const { + if (!mpWindowImpl) + return false; return (mpWindowImpl->mbUseFrameData ? mpWindowImpl->mpFrameData->mpTrackWin == this : ImplGetSVData()->mpWinData->mpTrackWin == this); |