SdrObject from SwFrameFormat
Regina Henschel
rb.henschel at t-online.de
Wed Jun 2 09:33:32 UTC 2021
Hi Miklos,
Miklos Vajna schrieb am 02.06.2021 um 08:53:
> 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.
That is good to know. Then I do not need to invest time to find the best
possible ersatz, but default values will do.
Kind regards
Regina
More information about the LibreOffice
mailing list