CWS-TOOLING: integrate CWS aw079
This commit is contained in:
commit
8f9d835322
1 changed files with 6 additions and 4 deletions
|
@ -3127,10 +3127,12 @@ void SdrPowerPointImport::ImportPage( SdrPage* pRet, const PptSlidePersistEntry*
|
|||
}
|
||||
if ( rSlidePersist.pBObj )
|
||||
{
|
||||
if ( rSlidePersist.bBObjIsTemporary )
|
||||
SdrObject::Free( rSlidePersist.pBObj );
|
||||
else
|
||||
pRet->SetBackgroundObj( rSlidePersist.pBObj );
|
||||
// #i99386# transfer the attributes from the temporary BackgroundObject
|
||||
// to the Page and delete it. Maybe rSlidePersist.bBObjIsTemporary is
|
||||
// obsolete here, too.
|
||||
pRet->getSdrPageProperties().ClearItem();
|
||||
pRet->getSdrPageProperties().PutItemSet(rSlidePersist.pBObj->GetMergedItemSet());
|
||||
SdrObject::Free( rSlidePersist.pBObj );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue