summaryrefslogtreecommitdiff
path: root/sw/inc/swmodule.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-22 08:27:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-22 14:16:13 +0200
commit4d02e8e96bc11bd57da4a06109a1f1f13130f2a4 (patch)
tree56afd3a52e3fbe7ce223790b4271512f8cde71a5 /sw/inc/swmodule.hxx
parenta6eaacf66ccc8f83b075b775f4dfa0aace0c3e3a (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/inc/swmodule.hxx')
-rw-r--r--sw/inc/swmodule.hxx5
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;