sw/source/core/inc/UndoSection.hxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 7e94c4127c0fe252e0abc28cd9dc52bd2c1b6131
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Aug 12 08:36:19 2019 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Aug 12 13:02:45 2019 +0200

    cid#1401328 Uncaught exception
    
    Change-Id: I22ce1fd66796ed4b95f56c4d8ca7b20b6eee7e8a
    Reviewed-on: https://gerrit.libreoffice.org/77332
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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:
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to