summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-06 00:35:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-07 06:59:32 +0000
commitca1d1c41f1dd4702bdffb1936b85bb6ac617219a (patch)
tree4321f82042d6a2502e37b575f8cd31f5acbb08be /svx
parent082d46908533dc254018fa8f5d517b025bb2fca4 (diff)
tdf#89329: use unique_ptr for pImpl in float3d
Change-Id: I80eb64cd91651f521fb6dba6bef22dc1d77188e1 Reviewed-on: https://gerrit.libreoffice.org/25937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/float3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index bd103da8e1d0..d5e1304eec91 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -336,7 +336,7 @@ void Svx3DWin::dispose()
delete mpRemember2DAttributes;
- delete mpImpl;
+ mpImpl.reset();
m_pBtnGeo.clear();
m_pBtnRepresentation.clear();