Kaydet (Commit) 4285773b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704776 Dereference after null check

Change-Id: I16a9cb07ebcadff31aed348c3380ffa9e859f9e4
üst a18dc050
......@@ -997,7 +997,7 @@ sal_Bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage)
/**********************************************************************
* MASTERPAGE
**********************************************************************/
SdrPageView* pPageView = mpDrawView->GetSdrPageView();
SdrPageView* pPageView = mpDrawView ? mpDrawView->GetSdrPageView() : NULL;
if (pPageView)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment