diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 10:13:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 10:48:27 +0000 |
commit | 49bfc59272f8482ca37abc631d2c3777518fd1d5 (patch) | |
tree | e01cb4a3fa03b6dbd7107e409de83de19813d804 /include/sfx2/docinsert.hxx | |
parent | 88c755e37cd36ddfe6d0d651540d9f2bd8a029a6 (diff) |
new loplugin: useuniqueptr: sfx2
Change-Id: I544c615105d14fa258fed7f30790d305e987f523
Reviewed-on: https://gerrit.libreoffice.org/33206
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/docinsert.hxx')
-rw-r--r-- | include/sfx2/docinsert.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/docinsert.hxx b/include/sfx2/docinsert.hxx index a18b6fdc5ae8..4f47a79bd896 100644 --- a/include/sfx2/docinsert.hxx +++ b/include/sfx2/docinsert.hxx @@ -45,7 +45,8 @@ private: FileDialogFlags const m_nDlgFlags; ErrCode m_nError; - sfx2::FileDialogHelper* m_pFileDlg; + std::unique_ptr<sfx2::FileDialogHelper> + m_pFileDlg; SfxItemSet* m_pItemSet; std::vector<OUString> m_pURLList; |