<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gallery: Do not link inserted images"
href="https://bugs.freedesktop.org/show_bug.cgi?id=67274#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Gallery: Do not link inserted images"
href="https://bugs.freedesktop.org/show_bug.cgi?id=67274">bug 67274</a>
from <span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span></b>
<pre>No idea but I assume code like this:
706 const Graphic aGrf( pGalleryItem->GetGraphic() );
707
708 if ( nSelType & nsSelectionType::SEL_GRF )
709 rSh.ReRead( aGrfName, aFltName, &aGrf );
710 else
711 rSh.Insert( aGrfName, aFltName, aGrf );
Creates that Graphic - and that (somehow) the GraphicObject that gets created
from that gets tagged as linked somehow - perhaps chasing rSh.Insert() and
re-read to see what parameters they take might be useful (?)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>