https://bugs.documentfoundation.org/show_bug.cgi?id=101563

--- Comment #51 from Noel Grandin <[email protected]> ---
Good point Aron. Something like this is probably simpler:

 void GraphicObject::SetGraphic( const Graphic& rGraphic, const OUString& rLink
)
 {
     // in case we are called from a situation where rLink and maLink are the
same thing,
     // we need a copy because SetGraphic clears maLink
     OUString sLinkCopy = rLink;
     SetGraphic( rGraphic );
     maLink = sLinkCopy;
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to