diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-09-16 09:02:52 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-09-16 09:45:04 +0200 |
commit | b21be80c403abefa40cf9056d46b8c8e8d69a8ac (patch) | |
tree | 5ea2658422e0ed6769f781d2d42ef6df52a380ad /sw/inc | |
parent | b8e840e684f7662483d9e5b47dd03a8e3a81f6e5 (diff) |
sw: prefix members of SwUndoSaveSection
Change-Id: I7e5433695a2e06c540fe6623fe3d9940d3255bd4
Reviewed-on: https://gerrit.libreoffice.org/78974
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/undobj.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index b9f058be2793..3e8e69631383 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -153,7 +153,7 @@ class SwUndoSaveContent { protected: - std::unique_ptr<SwHistory> pHistory; + std::unique_ptr<SwHistory> m_pHistory; // Needed for deletion of content. For Redo content is moved into the // UndoNodesArray. These methods always create a new node to insert @@ -189,13 +189,13 @@ public: class SwUndoSaveSection : private SwUndoSaveContent { std::unique_ptr<SwNodeIndex> m_pMovedStart; - std::unique_ptr<SwRedlineSaveDatas> pRedlSaveData; - sal_uLong nMvLen; // Index into UndoNodes-Array. - sal_uLong nStartPos; + std::unique_ptr<SwRedlineSaveDatas> m_pRedlineSaveData; + sal_uLong m_nMoveLen; // Index into UndoNodes-Array. + sal_uLong m_nStartPos; protected: SwNodeIndex* GetMvSttIdx() const { return m_pMovedStart.get(); } - sal_uLong GetMvNodeCnt() const { return nMvLen; } + sal_uLong GetMvNodeCnt() const { return m_nMoveLen; } public: SwUndoSaveSection(); @@ -206,8 +206,8 @@ public: void RestoreSection( SwDoc* pDoc, SwNodeIndex* pIdx, sal_uInt16 nSectType ); void RestoreSection(SwDoc* pDoc, const SwNodeIndex& rInsPos, bool bForceCreateFrames = false); - const SwHistory* GetHistory() const { return pHistory.get(); } - SwHistory* GetHistory() { return pHistory.get(); } + const SwHistory* GetHistory() const { return m_pHistory.get(); } + SwHistory* GetHistory() { return m_pHistory.get(); } }; // This class saves the PaM as sal_uInt16's and is able to restore it |