• Noel Grandin's avatar
    tdf#98175 fix Impress crash · 037de512
    Noel Grandin yazdı
    Caused by my commit f29c0b2b
    "boost::shared_ptr->std::shared_ptr in slideshow"
    
    where I foolishly 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())
    
    Ah, the joys of C++ memory management.
    
    Change-Id: I9b538e78730c9107870f406cb8ba482d491dd568
    037de512