diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 08:27:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 14:16:13 +0200 |
commit | 4d02e8e96bc11bd57da4a06109a1f1f13130f2a4 (patch) | |
tree | 56afd3a52e3fbe7ce223790b4271512f8cde71a5 /sw | |
parent | a6eaacf66ccc8f83b075b775f4dfa0aace0c3e3a (diff) |
cid#1401334 Uncaught exception
Change-Id: I155680d8f78c1bca854b9e491fc26f82b48e0f07
Reviewed-on: https://gerrit.libreoffice.org/76091
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/swmodule.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 52decb788a9e..be21755a08cc 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -23,6 +23,7 @@ #include <cstddef> +#include <o3tl/deleter.hxx> #include <tools/fldunit.hxx> #include <svl/lstner.hxx> #include <unotools/options.hxx> @@ -77,8 +78,8 @@ class SW_DLLPUBLIC SwModule final : public SfxModule, public SfxListener, public // ConfigItems std::unique_ptr<SwModuleOptions> m_pModuleConfig; - std::unique_ptr<SwMasterUsrPref> m_pUsrPref; - std::unique_ptr<SwMasterUsrPref> m_pWebUsrPref; + std::unique_ptr<SwMasterUsrPref, o3tl::default_delete<SwMasterUsrPref>> m_pUsrPref; + std::unique_ptr<SwMasterUsrPref, o3tl::default_delete<SwMasterUsrPref>> m_pWebUsrPref; std::unique_ptr<SwPrintOptions> m_pPrintOptions; std::unique_ptr<SwPrintOptions> m_pWebPrintOptions; std::unique_ptr<SwChapterNumRules> m_pChapterNumRules; |