diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-26 01:26:46 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 07:45:55 +0000 |
commit | 205863589da24441546f77f36fda8bc27489ac93 (patch) | |
tree | 607d4a12801ebce22605dc101db3310218b61798 /svtools | |
parent | 61a70fb5094ca6edfef9500f358c517e6674cb0c (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.cxx | 2 |
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(); |