Apache OpenOffice (AOO) Bugzilla – Issue 81352
SdrOle2Obj: replacement graphic can be stored at too many places
Last modified: 2017-05-20 10:55:48 UTC
At the moment it is not clear how to properly set a replacement graphic at the SdrOle2Obj (svx/inc/svdoole2.obj) object. It can be stored in too many places: pGraphic, mpImpl->pGraphicObject and xObjRef.SetGraphic( aGraphic, aMediaType ) So pGraphic and mpImpl->pGraphicObject should be removed, so that the only true graphic is available at the xObjRef. Additionally following methods should be removed then: void SetGraphic(const Graphic* pGrf); Graphic* GetGraphic() const;
Be aware that there are objects in Impress where xObjRef is empty but pGraphics is not NULL! These are special objects that contain placeholder graphics where an OLE object shall be inserted on a click.
target 3.x
Reset assigne to the default "issues@openoffice.apache.org".