sw/inc/swmodule.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 4d02e8e96bc11bd57da4a06109a1f1f13130f2a4 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 22 08:27:53 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 22 14:16:13 2019 +0200 cid#1401334 Uncaught exception Change-Id: I155680d8f78c1bca854b9e491fc26f82b48e0f07 Reviewed-on: https://gerrit.libreoffice.org/76091 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits