summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmodel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-28 11:24:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 08:25:48 +0200
commit48bf5a74186140760a734091a85e85d198e6fdfa (patch)
tree3bd63198c6e4a7865bf0c54c9e1cbffc70e5c012 /svx/source/svdraw/svdmodel.cxx
parent93242e985a002d94b0ac765952ce47b928effcae (diff)
loplugin:useuniqueptr in SdrLayerAdmin
Change-Id: I0f9c5b471b6db799b2194096f5d40c8adeb027d7 Reviewed-on: https://gerrit.libreoffice.org/61119 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index c7f34d9dd3e3..405ef170ab23 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -645,7 +645,7 @@ void SdrModel::ClearModel(bool bCalledFromDestructor)
maMaPag.clear();
MasterPageListChanged();
- pLayerAdmin->ClearLayer();
+ pLayerAdmin->ClearLayers();
}
SdrModel* SdrModel::AllocModel() const