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

coverity#705866 Dereference before null check

Change-Id: I3f70fda1098c2da97f36e474689853379e5b9ac2
üst a7ff16ad
......@@ -132,8 +132,6 @@ Reference<awt::XWindow> SAL_CALL PresenterHelper::createWindow (
pParentWindow->EnableChildTransparentMode(true);
}
if (pWindow != NULL)
{
pWindow->Show(bInitiallyVisible);
pWindow->SetMapMode(MAP_PIXEL);
......@@ -149,8 +147,6 @@ Reference<awt::XWindow> SAL_CALL PresenterHelper::createWindow (
pWindow->SetPaintTransparent(false);
}
}
return xWindow;
}
......
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