summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-26 01:26:46 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:45:55 +0000
commit205863589da24441546f77f36fda8bc27489ac93 (patch)
tree607d4a12801ebce22605dc101db3310218b61798 /svtools
parent61a70fb5094ca6edfef9500f358c517e6674cb0c (diff)
tdf#89329: use unique_ptr for pImpl in addresstemplate
Change-Id: I3e2cac86101e8a82eefacbe937cf40139fa77090 Reviewed-on: https://gerrit.libreoffice.org/25473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 073d8901f027..e6118aaafba6 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -729,7 +729,7 @@ void AssignmentPersistentData::ImplCommit()
void AddressBookSourceDialog::dispose()
{
- delete m_pImpl;
+ m_pImpl.reset();
m_pDatasource.clear();
m_pAdministrateDatasources.clear();
m_pTable.clear();