<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Inserting fontwork causes crash"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143749#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Inserting fontwork causes crash"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143749">bug 143749</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>Just for the record because I wouldn't pretend it's the right fix, if I put
"pImpl->MouseButtonDown( rMEvt );" after "pImpl->m_pCursorOld =...", it doesn't
crash.
diff --git a/vcl/source/treelist/treelistbox.cxx
b/vcl/source/treelist/treelistbox.cxx
index ee4b01981007..19bff1f8ee7d 100644
--- a/vcl/source/treelist/treelistbox.cxx
+++ b/vcl/source/treelist/treelistbox.cxx
@@ -2286,12 +2286,12 @@ void SvTreeListBox::Paint(vcl::RenderContext&
rRenderContext, const tools::Recta
void SvTreeListBox::MouseButtonDown( const MouseEvent& rMEvt )
{
- pImpl->MouseButtonDown( rMEvt );
-
// <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Libclplug: kf5 support errors"
href="show_bug.cgi?id=143114">tdf#143114</a> remember the *correct* starting entry
pImpl->m_pCursorOld = (rMEvt.IsLeft() && (nTreeFlags &
SvTreeFlags::CHKBTN) && mnClicksToToggle > 0)
? GetEntry(rMEvt.GetPosPixel())
: nullptr;
+
+ pImpl->MouseButtonDown( rMEvt );
}
void SvTreeListBox::MouseButtonUp( const MouseEvent& rMEvt )</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>