summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorArnold Dumas <arnold@dumas.at>2016-08-23 19:12:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-24 06:53:31 +0000
commit8573b1baa66c65cc170d1393cacf948b4ead3e6a (patch)
tree0e1c1deaa76830628451b4a53507576b61262798 /svx
parentc222fa9c2206e3b8b0e8cf55bf61be26e32ea2d7 (diff)
tdf#89329: use unique_ptr for pImpl in fmgridcl
Change-Id: If0fb04f41d2b9cd124d28278d121cd29b3e4d651 Reviewed-on: https://gerrit.libreoffice.org/28350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index ea2243cf2d4f..6494919154ef 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -140,8 +140,7 @@ FmGridHeader::~FmGridHeader()
void FmGridHeader::dispose()
{
- delete m_pImpl;
- m_pImpl = nullptr;
+ m_pImpl.reset();
DropTargetHelper::dispose();
svt::EditBrowserHeader::dispose();
}