Kaydet (Commit) 2b95e5bd authored tarafından Mark Hung's avatar Mark Hung Kaydeden (comit) Michael Stahl

tdf#124937 reset m_pFirstOfBorderMerge before truncate.

SwLinePortion::Truncate() called in
SwTextFormatter::FormatReset() delete the portion referred
by m_pFirstOfBorderMerge.

Change-Id: I68e134c86db617d37ea2efa09dad4409772146b5
Reviewed-on: https://gerrit.libreoffice.org/72300
Tested-by: Jenkins
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
(cherry picked from commit 96acebb7)
Reviewed-on: https://gerrit.libreoffice.org/72512Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst 2506c835
This diff was suppressed by a .gitattributes entry.
...@@ -1861,6 +1861,7 @@ void SwTextFormatter::FeedInf( SwTextFormatInfo &rInf ) const ...@@ -1861,6 +1861,7 @@ void SwTextFormatter::FeedInf( SwTextFormatInfo &rInf ) const
void SwTextFormatter::FormatReset( SwTextFormatInfo &rInf ) void SwTextFormatter::FormatReset( SwTextFormatInfo &rInf )
{ {
m_pFirstOfBorderMerge = nullptr;
m_pCurr->Truncate(); m_pCurr->Truncate();
m_pCurr->Init(); m_pCurr->Init();
if( pBlink && m_pCurr->IsBlinking() ) if( pBlink && m_pCurr->IsBlinking() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment