diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-04 13:37:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-05 09:32:36 +0200 |
commit | 1800cac964c145d9aa7e0048e0e545463901a03c (patch) | |
tree | 266f714ef08c01a48e0c1cf267c8a4e05d1dfb75 /include/svx/sdr/contact | |
parent | d2b3ea4d377bf05830f6eb11d53fd55ea6b435fc (diff) |
loplugin:useuniqueptr in ViewObjectContactOfPageObj
Change-Id: I4f7af7bb8da2b4bfb27ab7cf748677fc3fa6fdbc
Reviewed-on: https://gerrit.libreoffice.org/60004
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sdr/contact')
-rw-r--r-- | include/svx/sdr/contact/viewobjectcontactofpageobj.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx index e9b115ee4e2e..ace62f1941c0 100644 --- a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx +++ b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACTOFPAGEOBJ_HXX #include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx> +#include <memory> class SdrPage; @@ -32,7 +33,7 @@ class SVX_DLLPUBLIC ViewObjectContactOfPageObj : public ViewObjectContactOfSdrOb { private: // the page painter helper - PagePrimitiveExtractor* mpExtractor; + std::unique_ptr<PagePrimitiveExtractor> mpExtractor; protected: // This method is responsible for creating the graphical visualisation data which is |