diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-10 09:49:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-10 13:41:14 +0200 |
commit | 6bd33bd263c6666824d0d540395a4df4ae7d1d7b (patch) | |
tree | 100d56bf3c8b048efe0638e521d716727aa76cc2 /svx | |
parent | 2a0ce97aedb346f1dfecedfedec20d89ed5f8482 (diff) |
loplugin:inlinefields in SdrMarkView
Change-Id: I2662c7dbae0189fe2057149d825df39bb976a295
Reviewed-on: https://gerrit.libreoffice.org/36354
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdmrkv.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 5d007aff7966..478b0cbb65b7 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -151,8 +151,7 @@ SdrMarkView::SdrMarkView(SdrModel* pModel1, OutputDevice* pOut) mpMarkObjOverlay(nullptr), mpMarkPointsOverlay(nullptr), mpMarkGluePointsOverlay(nullptr), - maHdlList(this), - mpSdrViewSelection(new sdr::ViewSelection()) + maHdlList(this) { ImpClearVars(); StartListening(*pModel1); @@ -164,7 +163,6 @@ SdrMarkView::~SdrMarkView() BrkMarkObj(); BrkMarkPoints(); BrkMarkGluePoints(); - delete mpSdrViewSelection; } void SdrMarkView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) @@ -2084,7 +2082,7 @@ void SdrMarkView::EnterMarkedGroup() void SdrMarkView::MarkListHasChanged() { GetMarkedObjectListWriteAccess().SetNameDirty(); - mpSdrViewSelection->SetEdgesOfMarkedNodesDirty(); + maSdrViewSelection.SetEdgesOfMarkedNodesDirty(); mbMarkedObjRectDirty=true; mbMarkedPointsRectsDirty=true; |