diff options
Diffstat (limited to 'sw/source/core/inc/UndoDelete.hxx')
-rw-r--r-- | sw/source/core/inc/UndoDelete.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/inc/UndoDelete.hxx b/sw/source/core/inc/UndoDelete.hxx index 2a0c9fc5ffef..a29993610cd2 100644 --- a/sw/source/core/inc/UndoDelete.hxx +++ b/sw/source/core/inc/UndoDelete.hxx @@ -23,6 +23,7 @@ #include <undobj.hxx> #include <rtl/ustring.hxx> #include <tools/mempool.hxx> +#include <memory> class SwRedlineSaveDatas; class SwTextNode; @@ -37,7 +38,7 @@ class SwUndoDelete , private SwUndoSaveContent { SwNodeIndex* m_pMvStt; // Position of Nodes in UndoNodes-Array - OUString *m_pSttStr, *m_pEndStr; + std::unique_ptr<OUString> m_pSttStr, m_pEndStr; SwRedlineSaveDatas* m_pRedlSaveData; std::shared_ptr< ::sfx2::MetadatableUndo > m_pMetadataUndoStart; std::shared_ptr< ::sfx2::MetadatableUndo > m_pMetadataUndoEnd; |