diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 14:55:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 09:32:02 +0200 |
commit | fd6c82b3e1669cf696cb97c139b436a8df2547c5 (patch) | |
tree | 72a3f6abb91f16a3554fc47c2ce580649c6f3ad9 /sw/inc/ndarr.hxx | |
parent | 75c166d058717a7edd26273f50a86fe5f2cc7fb0 (diff) |
loplugin:useuniqueptr in SwNodes
Change-Id: If2b317cbafca62c111938840754c6211f60ff898
Reviewed-on: https://gerrit.libreoffice.org/52344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index cd0a3f02397d..2ab4d146005d 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -107,10 +107,10 @@ class SW_DLLPUBLIC SwNodes final SwDoc* m_pMyDoc; ///< This Doc contains the nodes-array. SwNode *m_pEndOfPostIts, *m_pEndOfInserts, ///< These are the fixed ranges. - *m_pEndOfAutotext, *m_pEndOfRedlines, - *m_pEndOfContent; + *m_pEndOfAutotext, *m_pEndOfRedlines; + std::unique_ptr<SwNode> m_pEndOfContent; - mutable SwOutlineNodes* m_pOutlineNodes; ///< Array of all outline nodes. + mutable std::unique_ptr<SwOutlineNodes> m_pOutlineNodes; ///< Array of all outline nodes. bool m_bInNodesDel : 1; /**< In Case of recursive calling. Do not update Num/Outline. */ |