I am assuming that I can ignore the stuff I'm cppuhelper since that seems to be doing a lot of magic around reference counting?<br><br>Also, can I assume that rtl::Reference and css::uno::Reference are interchangeable? Code seems to use one or the other rather willy-nilly. <br><div class="gmail_quote"><div dir="ltr">On Fri, 10 Jul 2015 at 14:56, Michael Meeks <<a href="mailto:michael.meeks@collabora.com">michael.meeks@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Noel,<br>
<br>
        So - first thanks for the awesome plugin & initial patch =)<br>
<br>
        <a href="https://gerrit.libreoffice.org/#/c/16924/" rel="noreferrer" target="_blank">https://gerrit.libreoffice.org/#/c/16924/</a><br>
<br>
        I checked the basic/ NameContainer thing and ... wow =) it looks<br>
totally busted; to some degree the question seems to be: how did that<br>
ever work ? or is it even used ? ;-)<br>
<br>
        How many more do you find ? ;-) our brief IRC discussion (after you<br>
dropped) went:<br>
<br>
<mmeeks> noelgrandin, sberg: seems to me that stack, or member<br>
allocating a WeakImplHelper is just a bug.<br>
<sberg> to me too (w/o looking at any context, actually)<br>
<br>
        It would be great to have a list of other similar sillies - perhaps<br>
there are some use-cases where it is ok. Eg. if we have some sort of<br>
aggregate object - you could imagine that we could override 'acquire'<br>
and get all the ref-counting on several different objects to count and<br>
free the same object (I suppose). So in theory some of this could work<br>
but ... ;-)<br>
<br>
        Does that help ?<br>
<br>
        ATB,<br>
<br>
                Michael.<br>
<br>
--<br>
 <a href="mailto:michael.meeks@collabora.com" target="_blank">michael.meeks@collabora.com</a>  <><, Pseudo Engineer, itinerant idiot<br>
<br>
</blockquote></div>