summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-26 01:58:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:40:09 +0000
commit2c7a0652b86a24b6ea42746002dfaec09737f58a (patch)
treef3509754549a9278a93663d54d847080b02b16e0 /svtools
parent15fed4931ed100fbf0c4769b5b75ac51a95edf84 (diff)
tdf#89329: use unique_ptr for pImpl in wizardmachine
Change-Id: Ie29a95fb913a7141ad6789db236f12c73c283a58 Reviewed-on: https://gerrit.libreoffice.org/25481 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index edeab91a3630..f7066e023f17 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -211,8 +211,7 @@ namespace svt
if (pPage)
pPage->disposeOnce();
}
- delete m_pImpl;
- m_pImpl = nullptr;
+ m_pImpl.reset();
}
WizardDialog::dispose();