sw/source/core/unocore/unosett.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 8f98a7c4e5b1f0b249c026577805a378b8a533d5 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 22 12:17:03 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 22 22:45:40 2019 +0200 cid#1448459 Dereference after null check Change-Id: I0a36171d00c6b72807744db16335a624219c2081 Reviewed-on: https://gerrit.libreoffice.org/76134 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index 7e32b867274a..8a8a798dd0fd 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -2145,6 +2145,7 @@ void SwXNumberingRules::setPropertyValue( const OUString& rPropertyName, const A if(pDocRule) { + assert(m_pDocShell); m_pDocShell->GetDoc()->SetOutlineNumRule(*pDocRule); pDocRule.reset(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits