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

--- Comment #46 from Noel Grandin <[email protected]> ---
Maybe if we changed it to detect self-assignment?

void GraphicObject::SetGraphic( const Graphic& rGraphic, const OUString& rLink
)
{
    // avoid self-assignment, because SetGraphic clears maLink
    if ( rGraphic != this.maGraphic && rLink != this.maLink)
    {
        SetGraphic( rGraphic );
        maLink = rLink;
    }
}

-- 
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