Fix fdo#71527 no unguarded ptr dereference here.
This is the real problem - mxPane can be validly NULL. Change-Id: Ie8d055db9bfb68cb9031fa970518343f5aec6619
This commit is contained in:
parent
b807b2d929
commit
1b10205c2c
@ -192,7 +192,8 @@ PresenterPaneContainer::SharedPaneDescriptor
|
|||||||
{
|
{
|
||||||
pDescriptor->mxView = rxView;
|
pDescriptor->mxView = rxView;
|
||||||
pDescriptor->mpViewBackground = rpViewBackground;
|
pDescriptor->mpViewBackground = rpViewBackground;
|
||||||
pDescriptor->mxPane->SetBackground(rpViewBackground);
|
if (pDescriptor->mxPane.is())
|
||||||
|
pDescriptor->mxPane->SetBackground(rpViewBackground);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( ! pDescriptor->maViewInitialization.empty())
|
if ( ! pDescriptor->maViewInitialization.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user