summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-09 09:40:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-14 11:11:33 +0200
commit5c3816cce5054ef41af441f9a280a8025ff6d691 (patch)
treeaed2cd395aae20afa516c16d6393915e69e9a4fd /include/sfx2
parent943e12e73dfa7ec9c09e97be5bdaf851277c25a6 (diff)
loplugin:useuniqueptr in SfxTabDialog
Change-Id: I460bf5aac44e6fd08a5bd5ab8af217dedbcc3cf8 Reviewed-on: https://gerrit.libreoffice.org/54174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/tabdlg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index d7aaebb49669..51e30e4c0d40 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -97,10 +97,10 @@ friend class SfxTabDialogUIObject;
bool m_bOwnsResetBtn;
bool m_bOwnsBaseFmtBtn;
- SfxItemSet* m_pSet;
+ std::unique_ptr<SfxItemSet> m_pSet;
std::unique_ptr<SfxItemSet> m_pOutSet;
std::unique_ptr< TabDlg_Impl > m_pImpl;
- sal_uInt16* m_pRanges;
+ std::unique_ptr<sal_uInt16[]> m_pRanges;
sal_uInt16 m_nAppPageId;
bool m_bStandardPushed;