<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE DOCX: Heading get bullets"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135164#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILESAVE DOCX: Heading get bullets"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135164">bug 135164</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>On pc Debian x86-64 with master sources updated today with gtk3 or gen
rendering, I don't reproduce the pb with minimized source file.
I also put a trace at the location indicated by:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=04ca5efc800c6b7a6e98e4278eb8be6ac6737fe9">https://cgit.freedesktop.org/libreoffice/core/commit/?id=04ca5efc800c6b7a6e98e4278eb8be6ac6737fe9</a>
author Julien Nabet <<a href="mailto:serval2412@yahoo.fr">serval2412@yahoo.fr</a>> 2020-06-27 09:27:50 +0200
committer Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>> 2020-06-27 16:27:13
+0200
cid#1464974: Null pointer dereferences (sw/unosett)
It seems LO doesn't go there.
Also the patch doesn't change functionality, just avoids some null pointer.
diff --git a/sw/source/core/unocore/unosett.cxx
b/sw/source/core/unocore/unosett.cxx
index 817938749bf7..81f1a6a2e33a 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -1771,8 +1771,8 @@ void SwXNumberingRules::SetPropertiesToNumFormat(
{
OUString sBulletFontName;
rProp.Value >>= sBulletFontName;
- SwDocShell* pLclDocShell = pDoc->GetDocShell();
- if( !sBulletFontName.isEmpty() && pLclDocShell )
+ SwDocShell* pLclDocShell = nullptr;
+ if( !sBulletFontName.isEmpty() && pDoc && (pLclDocShell =
pDoc->GetDocShell()) )
Did I miss something?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>