diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-07 12:36:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-19 07:13:46 +0100 |
commit | 9ee96d942603ff45370558c55ff989700b64045e (patch) | |
tree | c6355838188e242f0788f4541794ee3755a4f7ef /fpicker/source/office/OfficeFilePicker.hxx | |
parent | e5fe9cbb421dfc0f373e5ea56c93aab2a149ddcc (diff) |
loplugin:useuniqueptr in filepicker
Change-Id: I367bea33bdb9ea3132d3ed079a16b516498b4fcc
Reviewed-on: https://gerrit.libreoffice.org/49947
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker/source/office/OfficeFilePicker.hxx')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 27e761f39f05..af60daa9ee0b 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -61,8 +61,10 @@ class SvtFilePicker :public SvtFilePicker_Base ,public ::svt::IFilePickerListener { protected: - FilterList* m_pFilterList; - ElementList* m_pElemList; + std::unique_ptr<FilterList> + m_pFilterList; + std::unique_ptr<ElementList> + m_pElemList; bool m_bMultiSelection; sal_Int16 m_nServiceType; |