Kaydet (Commit) 1b10205c authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Fix fdo#71527 no unguarded ptr dereference here.

This is the real problem - mxPane can be validly NULL.

Change-Id: Ie8d055db9bfb68cb9031fa970518343f5aec6619
üst b807b2d9
......@@ -192,7 +192,8 @@ PresenterPaneContainer::SharedPaneDescriptor
{
pDescriptor->mxView = rxView;
pDescriptor->mpViewBackground = rpViewBackground;
pDescriptor->mxPane->SetBackground(rpViewBackground);
if (pDescriptor->mxPane.is())
pDescriptor->mxPane->SetBackground(rpViewBackground);
try
{
if ( ! pDescriptor->maViewInitialization.empty())
......
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