diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 16:52:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-17 08:40:23 +0200 |
commit | 100f66cfa594454a4f06998e6a346b8f42c052b1 (patch) | |
tree | 7ea6c2b1257ae383a68fc0f62d2d2fe80806870a /sc/source/ui/optdlg | |
parent | 1926e76d9a7ac54b00526afb94debef89108d00c (diff) |
loplugin:useuniqueptr in ScTpCalcOptions
Change-Id: Iebf8bc4036ed6b530e088429a71200097816bccd
Reviewed-on: https://gerrit.libreoffice.org/57526
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r-- | sc/source/ui/optdlg/tpcalc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx index dc9ae0e28284..3f7f11da2d60 100644 --- a/sc/source/ui/optdlg/tpcalc.cxx +++ b/sc/source/ui/optdlg/tpcalc.cxx @@ -75,8 +75,8 @@ ScTpCalcOptions::~ScTpCalcOptions() void ScTpCalcOptions::dispose() { - delete pOldOptions; - delete pLocalOptions; + pOldOptions.reset(); + pLocalOptions.reset(); m_pBtnIterate.clear(); m_pFtSteps.clear(); m_pEdSteps.clear(); |