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

--- Comment #10 from Douglas Mencken <[email protected]> ---
(In reply to Noel Grandin from comment #9)
> OK, I've figured this out.
> 
> I converted 
> 
>    shared_from_this()
> 
> to 
> 
>    std::shared_ptr<Activity>((Activity*)this) )
> 
> all over the place, which is bad, I should have used
> 
>    std::dynamic_pointer_cast<ViewEventHandler>(shared_from_this())
> 
> patch coming up.

You 're faster than me

After reverting (in that order)

git revert 4e354737908b89713297ebf5216eb44f3d9ae990
git revert 93de1f80e8b6ea49be8eca57a87e6ba92dc6cae9
git revert ef3aea797bc33edc6d8a975ed74bb3a38031d62b
git revert f29c0b2b3e8861909fa2c6c37bf631ab01590541

I got too that idea of replacing shared_from_this() was wrong

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