summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-26 01:40:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:43:57 +0000
commit9a2bbaad2667c025744792948961606fbcc5029c (patch)
tree13005f382ef5da70029a46d4ad864c03332e9450 /svtools
parent832c9b7b9107ca2f2a85dbf4e0e42a4c2b62a174 (diff)
tdf#89329: use unique_ptr for pImpl in roadmapwizard
Change-Id: I37c24d830ae702579fe14ecba627d7f1d363eef6 Reviewed-on: https://gerrit.libreoffice.org/25475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/roadmapwizard.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx
index 1df26b6c275b..4fa72e815ad9 100644
--- a/svtools/source/dialogs/roadmapwizard.cxx
+++ b/svtools/source/dialogs/roadmapwizard.cxx
@@ -150,8 +150,7 @@ namespace svt
void RoadmapWizard::dispose()
{
- delete m_pImpl;
- m_pImpl = nullptr;
+ m_pImpl.reset();
OWizardMachine::dispose();
}