summaryrefslogtreecommitdiff
path: root/include/sfx2/tabdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-15 19:43:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-15 22:10:10 +0200
commitb294def2389aa3981a72d23878fa63928efc4147 (patch)
treef1b152551875da188d6ef01e03ab221a204ee44c /include/sfx2/tabdlg.hxx
parent5062ffbfcae932edf096ce4f360f23b0fd61d111 (diff)
coverity#1437960 Resource leak in object
Change-Id: Icee05e1ef1fef213de293971beb9e17753c8eb3b Reviewed-on: https://gerrit.libreoffice.org/57458 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/tabdlg.hxx')
-rw-r--r--include/sfx2/tabdlg.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index b37370c6bfdf..527151810619 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -241,10 +241,10 @@ private:
std::unique_ptr<weld::Button> m_xResetBtn;
std::unique_ptr<weld::SizeGroup> m_xSizeGroup;
- 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<TabDlg_Impl> m_pImpl;
+ std::unique_ptr<sal_uInt16[]> m_pRanges;
OString m_sAppPageId;
DECL_DLLPRIVATE_LINK(ActivatePageHdl, const OString&, void);