summaryrefslogtreecommitdiff
path: root/cui/source/inc/numpages.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-21 10:04:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-25 09:12:13 +0200
commit39e6bae2c4be24a3aad5ef8cd37d3d83c41a4abe (patch)
tree5f0ef3ed26815e2854a8dcefbbcc6d27be64800d /cui/source/inc/numpages.hxx
parent592cbb6cdb1691e205d5bea3dd95d370fd119aa8 (diff)
loplugin:useuniqueptr in cui numpages
Change-Id: I22eaeecb06bcf46cc494e8a0326922600e131cf3 Reviewed-on: https://gerrit.libreoffice.org/56324 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/numpages.hxx')
-rw-r--r--cui/source/inc/numpages.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index d5e92dc13be8..cac9a110959c 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -89,8 +89,8 @@ class SvxSingleNumPickTabPage final : public SfxTabPage
VclPtr<SvxNumValueSet> m_pExamplesVS;
SvxNumSettingsArr_Impl aNumSettingsArr;
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
sal_uInt16 nActNumLvl;
bool bModified : 1;
bool bPreset : 1;
@@ -122,8 +122,8 @@ class SvxBulletPickTabPage final : public SfxTabPage
using TabPage::DeactivatePage;
VclPtr<SvxNumValueSet> m_pExamplesVS;
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
sal_uInt16 nActNumLvl;
bool bModified : 1;
bool bPreset : 1;
@@ -164,8 +164,8 @@ class SvxNumPickTabPage final : public SfxTabPage
SvxNumSettingsArr_Impl aNumSettingsArrays[NUM_VALUSET_COUNT]; // is initialized with the five formats
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
sal_uInt16 nActNumLvl;
sal_uInt16 nNumItemId;
bool bModified : 1;
@@ -207,8 +207,8 @@ class SvxBitmapPickTabPage final : public SfxTabPage
std::vector<OUString> aGrfNames;
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
sal_uInt16 nActNumLvl;
sal_uInt16 nNumItemId;
MapUnit eCoreUnit;
@@ -283,8 +283,8 @@ class SvxNumOptionsTabPage : public SfxTabPage
Timer aInvalidateTimer;
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
Size aInitSize[SVX_MAX_NUM];
@@ -391,8 +391,8 @@ class SvxNumPositionTabPage : public SfxTabPage
VclPtr<SvxNumberingPreview> m_pPreviewWIN;
- SvxNumRule* pActNum;
- SvxNumRule* pSaveNum;
+ std::unique_ptr<SvxNumRule> pActNum;
+ std::unique_ptr<SvxNumRule> pSaveNum;
sal_uInt16 nActNumLvl;
sal_uInt16 nNumItemId;