Re: Need help for bug 158451

2023-12-22 Thread Regina Henschel
Hi Michael, Michael Stahl schrieb am 21.12.2023 um 20:19: hi Regina, [..] the problem is that the type of anchor of the inner shape changes during text formatting, which is not supposed to happen. hope https://gerrit.libreoffice.org/c/core/+/161137 should fix the crash. Yes it solves

Re: Need help for bug 158451

2023-12-21 Thread Michael Stahl
hi Regina, On 14/12/2023 01:26, Regina Henschel wrote: Hi all, I can now narrow down the error somewhat. Look at method SwTextFrame::FormatImpl() in https://opengrok.libreoffice.org/xref/core/sw/source/core/text/frmform.cxx?r=7d7ca347#1832 It creates    SwTextFormatInfo aInf( pRenderContext,

Re: Need help for bug 158451

2023-12-15 Thread Miklos Vajna
Hi Regina, On Thu, Dec 14, 2023 at 01:26:24AM +0100, Regina Henschel wrote: > And there I'm now. I have no idea, how something there changes the parameter > rInfo of SwTextFrame::Format_(). > And I still do not know, which object is really needed in the above > mentioned for-loop. > And I still

Re: Need help for bug 158451

2023-12-13 Thread Regina Henschel
Henschel schrieb am 11.12.2023 um 03:15: Hi all, I need help for bug 158451. Problem: A group or a drawing canvas in a docx file crashes Writer, in case it is anchored 'inline' and has a child shape with text. The crash happens in SwAnchoredObject::GetObjRectWithSpaces(). There is no crash, if su

Re: Need help for bug 158451

2023-12-11 Thread Caolán McNamara
On Mon, 2023-12-11 at 03:15 +0100, Regina Henschel wrote: > Steps before the crash are > SwTextFormatter::NewPortion() > SwTextFormatter::CalcFlyWidth() > SwTextFly::GetFrame() > SwTextFly::ForEach() > SwAnchoredObject::GetObjRectWithSpaces() It is possible that this is

Need help for bug 158451

2023-12-10 Thread Regina Henschel
Hi all, I need help for bug 158451. Problem: A group or a drawing canvas in a docx file crashes Writer, in case it is anchored 'inline' and has a child shape with text. The crash happens in SwAnchoredObject::GetObjRectWithSpaces(). There is no crash, if such group is in an odt file