summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/DocumentRedlineManager.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-26 10:58:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 11:05:37 +0200
commitab60b88390097dd98ad1e765b8dd94d1abaa3c65 (patch)
tree78609cc8af77e0eca33b6352d5bbaa5fcbb30f73 /sw/source/core/inc/DocumentRedlineManager.hxx
parent11cf64b7303d3c6bd2620d6c711c9845775f2d3d (diff)
use std::unique_ptr in DocumentRedlineManager
Change-Id: Iba073b3a251827fefaba790e33dfc7c01b0b2154 Reviewed-on: https://gerrit.libreoffice.org/43897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/DocumentRedlineManager.hxx')
-rw-r--r--sw/source/core/inc/DocumentRedlineManager.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/DocumentRedlineManager.hxx b/sw/source/core/inc/DocumentRedlineManager.hxx
index afe8d4090271..166c7e56804d 100644
--- a/sw/source/core/inc/DocumentRedlineManager.hxx
+++ b/sw/source/core/inc/DocumentRedlineManager.hxx
@@ -130,8 +130,8 @@ private:
SwDoc& m_rDoc;
RedlineFlags meRedlineFlags; //< Current Redline Mode.
- SwRedlineTable *mpRedlineTable; //< List of all Ranged Redlines.
- SwExtraRedlineTable *mpExtraRedlineTable; //< List of all Extra Redlines.
+ std::unique_ptr<SwRedlineTable> mpRedlineTable; //< List of all Ranged Redlines.
+ std::unique_ptr<SwExtraRedlineTable> mpExtraRedlineTable; //< List of all Extra Redlines.
std::unique_ptr<OUString> mpAutoFormatRedlnComment; //< Comment for Redlines inserted via AutoFormat.
bool mbIsRedlineMove; //< true: Redlines are moved into to / out of the section.
bool mbReadlineChecked; //< true: if the query was already shown