diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-12 08:36:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-12 13:02:45 +0200 |
commit | 7e94c4127c0fe252e0abc28cd9dc52bd2c1b6131 (patch) | |
tree | 74a97e31fe0eb0f13cc46373462cbdfff5cb9250 /sw | |
parent | a1b75515fd1e69fff5655860c7bd21561eb46c9d (diff) |
cid#1401328 Uncaught exception
Change-Id: I22ce1fd66796ed4b95f56c4d8ca7b20b6eee7e8a
Reviewed-on: https://gerrit.libreoffice.org/77332
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/source/core/inc/UndoSection.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/inc/UndoSection.hxx b/sw/source/core/inc/UndoSection.hxx index 3bb1e3e74f1e..ac7858063e2a 100644 --- a/sw/source/core/inc/UndoSection.hxx +++ b/sw/source/core/inc/UndoSection.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOSECTION_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOSECTION_HXX +#include <o3tl/deleter.hxx> #include <undobj.hxx> #include <memory> @@ -77,8 +78,8 @@ class SwUndoUpdateIndex : public SwUndo { private: std::unique_ptr<SwUndoDelSection> m_pTitleSectionUpdated; - std::unique_ptr<SwUndoSaveSection> const m_pSaveSectionOriginal; - std::unique_ptr<SwUndoSaveSection> const m_pSaveSectionUpdated; + std::unique_ptr<SwUndoSaveSection, o3tl::default_delete<SwUndoSaveSection>> const m_pSaveSectionOriginal; + std::unique_ptr<SwUndoSaveSection, o3tl::default_delete<SwUndoSaveSection>> const m_pSaveSectionUpdated; sal_uLong const m_nStartIndex; public: |