diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-11-30 09:03:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-30 09:36:52 +0100 |
commit | b46dc75e4405f17dfe9c92c5447bd70a3e2ffd7b (patch) | |
tree | 732aa52bbe86058e9c20967a5fc0373366aada57 /sw/source/core/layout/trvlfrm.cxx | |
parent | fca175a7509b598560a612bc58b4817690665688 (diff) |
sw: prefix members of SwCursorOszControl, SwLineRects, SwPageFrame and ...
... SwShortCut
See tdf#94879 for motivation.
Change-Id: I81c1526954c28284a0844038ccc9a3f41268d1c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106850
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/layout/trvlfrm.cxx')
-rw-r--r-- | sw/source/core/layout/trvlfrm.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index beffc60737d4..350d118e37a6 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -113,17 +113,17 @@ class SwCursorOszControl public: // So the compiler can initialize the class already. No DTOR and member // as public members - const SwFlyFrame *pEntry; - const SwFlyFrame *pStack1; - const SwFlyFrame *pStack2; + const SwFlyFrame* m_pEntry; + const SwFlyFrame* m_pStack1; + const SwFlyFrame* m_pStack2; bool ChkOsz( const SwFlyFrame *pFly ) { bool bRet = true; - if ( pFly != pStack1 && pFly != pStack2 ) + if (pFly != m_pStack1 && pFly != m_pStack2) { - pStack1 = pStack2; - pStack2 = pFly; + m_pStack1 = m_pStack2; + m_pStack2 = pFly; bRet = false; } return bRet; @@ -131,14 +131,14 @@ public: void Entry( const SwFlyFrame *pFly ) { - if ( !pEntry ) - pEntry = pStack1 = pFly; + if (!m_pEntry) + m_pEntry = m_pStack1 = pFly; } void Exit( const SwFlyFrame *pFly ) { - if ( pFly == pEntry ) - pEntry = pStack1 = pStack2 = nullptr; + if (pFly == m_pEntry) + m_pEntry = m_pStack1 = m_pStack2 = nullptr; } }; |