SdrObject from SwFrameFormat

Miklos Vajna vmiklos at collabora.com
Wed Jun 2 06:53:48 UTC 2021


Hi Regina,

On Wed, Jun 02, 2021 at 12:48:59AM +0200, Regina Henschel <rb.henschel at t-online.de> wrote:
> in DocxSdrExport::startDMLAnchorInline() in
> sw/source/filter/ww8/docxsdrexport.cxx
> I can get the SdrObject of an object with
> SdrObject* pObject = pFrameFormat->FindRealSdrObject();
> 
> Do you know a Scenario, when pObject does not exist when
> startDMLAnchorInline() is used?

I'm not aware of such a case. That function is meant to be shared code:
it's used for both Writer images/textframes and Draw shapes, and there
should be an SdrObject for all of them.

Regards,

Miklos


More information about the LibreOffice mailing list