<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH running a macro (that changes text) from IDE, when StylesInspector is running"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135528#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - CRASH running a macro (that changes text) from IDE, when StylesInspector is running"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135528">bug 135528</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>A code pointer:
WriterInspectorTextPanel's AttrChangedNotify tries to get a "current" shell,
which might change over time, while the panel should be bound to the original
shell.
On the other hand, Writer's SI captures a SwWrtShell in its ctor, which is what
may be used later everywhere when it needs any shell. E.g., the SwWrtShell is
the shell that provides cursor itself; to get document shell from SwWrtShell,
you call m_pShell->GetDoc()->GetDocShell().
HTH.</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>