diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-09 16:13:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-10 08:28:49 +0100 |
commit | a3f409262db9a9939d40e8f009f3e2396c78c020 (patch) | |
tree | c1ff860e5fca905e86cc75201530b6d0b414f869 /sw/inc/ndtxt.hxx | |
parent | 6cd5d350db92b78f1d4b8a552e0b8972d48c16a0 (diff) |
use unique_ptr in SwTextNode
Change-Id: I3f263a617e0ca48cbbe894a061910f1af767bb11
Reviewed-on: https://gerrit.libreoffice.org/66037
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 4c0e6468fb9b..e10fd669eddc 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -91,8 +91,8 @@ class SW_DLLPUBLIC SwTextNode Therefore: never access directly! */ std::unique_ptr<SwpHints> m_pSwpHints; - mutable SwNodeNum* mpNodeNum; ///< Numbering for this paragraph. - mutable SwNodeNum* mpNodeNumRLHidden; ///< Numbering for this paragraph (hidden redlines) + mutable std::unique_ptr<SwNodeNum> mpNodeNum; ///< Numbering for this paragraph. + mutable std::unique_ptr<SwNodeNum> mpNodeNumRLHidden; ///< Numbering for this paragraph (hidden redlines) OUString m_Text; |