https://bugs.documentfoundation.org/show_bug.cgi?id=158703

--- Comment #9 from Julien Nabet <[email protected]> ---
It resembles the pb which has been fixed with
971c9945825db02a4809538d26fff3ae77d16866

1) const OUString& rTxt which had been replaced with std::u16string_view rTxt
2) as Mike indicated:
// rTxt may refer to the frame text that will change in the calls to
rDoc.Delete / rDoc.Insert;
// keep a local copy for later use
OUString aOrigTxt = rTxt;

I tried to apply the same but it still crashes.
After this part:
    730                     if ( nEndPos - nPos > 0 )
    731                         rDoc.Delete( nPos, nEndPos ); 

rTxt has a smaller size whereas nEndPos hasn't changed so crash.

No idea what to do.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to