summaryrefslogtreecommitdiffstats
path: root/include/svx/svdcrtv.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-31 13:42:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-06 10:26:03 +0100
commit4a95c38e1c2c3582b9a53d39e192c5496b12abe0 (patch)
treed2320c19f7e1fc91878d617c4057510a8c0ba305 /include/svx/svdcrtv.hxx
parentpOptionalCalcSize is never null (diff)
downloadcore-4a95c38e1c2c3582b9a53d39e192c5496b12abe0.tar.gz
core-4a95c38e1c2c3582b9a53d39e192c5496b12abe0.zip
loplugin:useuniqueptr in SdrCreateView
Change-Id: Id9e52550264d2c1e0a838ff792f2257fddb64701 Reviewed-on: https://gerrit.libreoffice.org/49269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdcrtv.hxx')
-rw-r--r--include/svx/svdcrtv.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdcrtv.hxx b/include/svx/svdcrtv.hxx
index 419193dcadca..c6aef8e9273e 100644
--- a/include/svx/svdcrtv.hxx
+++ b/include/svx/svdcrtv.hxx
@@ -42,7 +42,7 @@ protected:
// for migrating stuff from XOR, use ImpSdrCreateViewExtraData ATM to not need to
// compile the apps all the time
- ImpSdrCreateViewExtraData* mpCreateViewExtraData;
+ std::unique_ptr<ImpSdrCreateViewExtraData> mpCreateViewExtraData;
Pointer aAktCreatePointer;