Kaydet (Commit) 4c8f8038 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Thorsten Behrens

tdf#124586 sw_redlinehide: fix crash in SwTextNode::NumRuleChgd()

(regression from c180c944)

Change-Id: Ie3c935ee5dd42187ca8ad2b28406b80e63c0d1e3
Reviewed-on: https://gerrit.libreoffice.org/70467Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit 7587e390)
Reviewed-on: https://gerrit.libreoffice.org/70500
Tested-by: Jenkins
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst ba5aa1e7
......@@ -2864,7 +2864,10 @@ void SwTextNode::NumRuleChgd()
if ( pNumRule && pNumRule != GetNum()->GetNumRule() )
{
mpNodeNum->ChangeNumRule( *pNumRule );
mpNodeNumRLHidden->ChangeNumRule( *pNumRule );
if (mpNodeNumRLHidden)
{
mpNodeNumRLHidden->ChangeNumRule(*pNumRule);
}
}
}
......
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