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

Related: fdo#62287 make it impossible to use a dead AquaSalFrame

Change-Id: Ie56a41e901ea26d5ea946260bdf25a903185be99
üst ef4b5aad
......@@ -190,9 +190,15 @@ sal_Bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
{
// get the first matching frame
pSalFrame = *GetSalData()->maFrames.begin();
// update the frame reference
mpGraphics->setGraphicsFrame( pSalFrame );
}
else
{
// ensure we don't reuse a dead AquaSalFrame on the very
// unlikely case of no other frame to use
pSalFrame = NULL;
}
// update the frame reference
mpGraphics->setGraphicsFrame( pSalFrame );
}
if( pSalFrame )
{
......
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