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

coverity#705872 Dereference before null check

Change-Id: Ia964362f757372862b3f2e5a0a9581171616251b
üst 50d5bd90
......@@ -69,8 +69,6 @@ PresentationViewShellBase::PresentationViewShellBase (
: ViewShellBase (_pFrame, pOldShell)
{
// Hide the automatic (non-context sensitive) tool bars.
if (_pFrame!=NULL)
{
Reference<beans::XPropertySet> xFrameSet (
_pFrame->GetFrame().GetFrameInterface(),
UNO_QUERY);
......@@ -82,7 +80,6 @@ PresentationViewShellBase::PresentationViewShellBase (
xLayouterSet->setPropertyValue("AutomaticToolbars", makeAny(sal_False));
}
}
}
}
......
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