summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-20 15:41:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-21 08:25:19 +0200
commit48c4460d414dd6f60c630af2fc13e1c3db2c3653 (patch)
treeda784f8ddad0b4caf2cf3e0285275719ec147c5f /cui/source/inc
parente1b922a2b302879747ffb93d3a463f2e4d8eca71 (diff)
loplugin:useuniqueptr in SvxNumberFormatTabPage
Change-Id: If0fefe4a1e7af7331c708e7e944483ec3ce07614 Reviewed-on: https://gerrit.libreoffice.org/56190 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/numfmt.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 80a3f296cba2..a3ff4a070e40 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -115,8 +115,8 @@ private:
Timer aResetWinTimer;
- SvxNumberInfoItem* pNumItem;
- SvxNumberFormatShell* pNumFmtShell;
+ std::unique_ptr<SvxNumberInfoItem> pNumItem;
+ std::unique_ptr<SvxNumberFormatShell> pNumFmtShell;
sal_uLong nInitFormat;
Link<SfxPoolItem const *,void> fnOkHdl;