From 4fcaa8ee1f94799321596eab2f6fd2c768bbec9d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 7 Feb 2014 20:38:29 +0000 Subject: coverity#441048 silence Dereference after null check Change-Id: I3869657bbf20ac3152090a96428456c2a9eb9d14 --- vcl/source/window/window.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/source') diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 5163cc25dfdc..7ee6c70f13c1 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -9040,6 +9040,7 @@ void Window::RecordLayoutData( vcl::ControlLayoutData* pLayout, const Rectangle& OutputDevice *pOutDev = GetOutDev(); pOutDev->ImplInitOutDevData(); } + assert(mpOutDevData); mpOutDevData->mpRecordLayout = pLayout; mpOutDevData->maRecordRect = rRect; Paint( rRect ); -- cgit