diff options
Diffstat (limited to 'svx/inc/sdr')
-rw-r--r-- | svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx index 75ecbf65dc2a..46f6e4d32988 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFGRAPHIC_HXX #include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx> +#include <memory> class SdrGrafObj; @@ -40,7 +41,7 @@ namespace sdr // Member which takes care for the asynch loading events which may be necessary // for asynch graphics loading. - sdr::event::AsynchGraphicLoadingEvent* mpAsynchLoadEvent; + std::unique_ptr<sdr::event::AsynchGraphicLoadingEvent> mpAsynchLoadEvent; // async graphics loading helpers. Only to be used internally or from the // event helper class (in .cxx file) |