[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 22 20:46:31 UTC 2019
sw/source/core/unocore/unosett.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8f98a7c4e5b1f0b249c026577805a378b8a533d5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 22 12:17:03 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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();
}
More information about the Libreoffice-commits
mailing list