From a3f409262db9a9939d40e8f009f3e2396c78c020 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 9 Jan 2019 16:13:21 +0200 Subject: use unique_ptr in SwTextNode Change-Id: I3f263a617e0ca48cbbe894a061910f1af767bb11 Reviewed-on: https://gerrit.libreoffice.org/66037 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/ndtxt.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/ndtxt.hxx') 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 m_pSwpHints; - mutable SwNodeNum* mpNodeNum; ///< Numbering for this paragraph. - mutable SwNodeNum* mpNodeNumRLHidden; ///< Numbering for this paragraph (hidden redlines) + mutable std::unique_ptr mpNodeNum; ///< Numbering for this paragraph. + mutable std::unique_ptr mpNodeNumRLHidden; ///< Numbering for this paragraph (hidden redlines) OUString m_Text; -- cgit a-7-4'>distro/allotropia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author