sw/source/core/txtnode/ndtxt.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 7587e39014c1b6ed505e9c10d9f0f0803fc986ac Author: Michael Stahl <michael.st...@cib.de> AuthorDate: Tue Apr 9 17:15:50 2019 +0200 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Wed Apr 10 10:16:16 2019 +0200 tdf#124586 sw_redlinehide: fix crash in SwTextNode::NumRuleChgd() (regression from c180c9447256588fe5e7991e06642883574760ae) Change-Id: Ie3c935ee5dd42187ca8ad2b28406b80e63c0d1e3 Reviewed-on: https://gerrit.libreoffice.org/70467 Reviewed-by: Michael Stahl <michael.st...@cib.de> Tested-by: Michael Stahl <michael.st...@cib.de> diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 6bf96c6d6a2c..05135a9868cf 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -2863,7 +2863,10 @@ void SwTextNode::NumRuleChgd() if ( pNumRule && pNumRule != GetNum()->GetNumRule() ) { mpNodeNum->ChangeNumRule( *pNumRule ); - mpNodeNumRLHidden->ChangeNumRule( *pNumRule ); + if (mpNodeNumRLHidden) + { + mpNodeNumRLHidden->ChangeNumRule(*pNumRule); + } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits