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

--- Comment #4 from Noel Grandin <[email protected]> ---
probably the easiest fix is to define a custom subclass of SvTreeListEntry that
delete's the UserData in it's destructor.
something like
  class MyListEntry : public SvTreeListEntry{
  public:
    ~MyListEntry() { delete static_cast<UserData>(GetUserData()); }
  }
unless the ownership of UserData is more complicated.

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