[Bug 67274] Gallery: Do not link inserted images

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 5 04:31:47 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=67274

--- Comment #7 from Michael Meeks <michael.meeks at collabora.com> ---
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 (?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131105/a559e0a1/attachment.html>


More information about the LibreOffice mailing list