diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-15 19:43:18 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-17 11:05:11 +0200 |
commit | 215de37cd1d860f1e0471319cd8069d51cd8887d (patch) | |
tree | 4771d3136d94de93ca152b213d7be8ad9042c2c4 /include | |
parent | a09d357daf65e285323ff77653a6de3058fc44da (diff) |
coverity#1437960 Resource leak in object
Change-Id: Icee05e1ef1fef213de293971beb9e17753c8eb3b
Reviewed-on: https://gerrit.libreoffice.org/57460
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/tabdlg.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 6e3033500e5a..adc120068153 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); |