diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 14:27:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 21:20:19 +0100 |
commit | 16d5cbfd38e57a6fccfda018ede2de7e4c448221 (patch) | |
tree | aa2ff3fe29071b867bbb99005a1db46c2517459d | |
parent | 14244769eb799730a58960c8b2fe3990f44fd0ba (diff) |
coverity#1430065 silence Uncaught exception
Change-Id: I71d5fedb8753d41effa3ebf41811f81f369dae54
Reviewed-on: https://gerrit.libreoffice.org/51564
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/ui/dialog/swdlgfact.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx index caf3059c86ac..018a2710f36d 100644 --- a/sw/source/ui/dialog/swdlgfact.hxx +++ b/sw/source/ui/dialog/swdlgfact.hxx @@ -40,8 +40,8 @@ class SwTOXMark; class SwSplitTableDlg; #include <itabenum.hxx> - #include <boost/optional.hpp> +#include <o3tl/deleter.hxx> namespace sw { @@ -237,7 +237,7 @@ class AbstractSwSelGlossaryDlg_Impl : public AbstractSwSelGlossaryDlg class AbstractSwAutoFormatDlg_Impl : public AbstractSwAutoFormatDlg { protected: - std::unique_ptr<SwAutoFormatDlg> m_xDlg; + std::unique_ptr<SwAutoFormatDlg, o3tl::default_delete<SwAutoFormatDlg>> m_xDlg; public: explicit AbstractSwAutoFormatDlg_Impl(SwAutoFormatDlg* p) : m_xDlg(p) |