diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-11-02 08:13:57 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-11-02 13:42:10 +0100 |
commit | 1076f634c19527770a2e465ea0d8c561c8491f26 (patch) | |
tree | 7646b83804f0126903f74b067a76cace34bdab59 /sw/source/uibase/inc/swcont.hxx | |
parent | f5c618f4e5d3ef2a33301d5f20035bb8bc213a38 (diff) |
sw: prefix members of SwAnnotationShell, SwBaseShell, SwContent and ...
... SwDrawTextShell
See tdf#94879 for motivation.
Change-Id: Icaa59a07dcc680a9f2f167165c89fec72e99d92b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124582
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/inc/swcont.hxx')
-rw-r--r-- | sw/source/uibase/inc/swcont.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx index 2e32944efb48..19d17ebe6598 100644 --- a/sw/source/uibase/inc/swcont.hxx +++ b/sw/source/uibase/inc/swcont.hxx @@ -72,19 +72,19 @@ class SwTypeNumber class SwContent : public SwTypeNumber { - const SwContentType* pParent; - OUString sContentName; - tools::Long nYPosition; + const SwContentType* m_pParent; + OUString m_sContentName; + tools::Long m_nYPosition; // some subclasses appear to use this for a tools/gen.hxx-style // geometric Y position, while e.g. SwOutlineContent wants to store // the index in its subtree - bool bInvisible; + bool m_bInvisible; public: SwContent(const SwContentType* pCnt, const OUString& rName, tools::Long nYPos ); virtual bool IsProtect() const; - const SwContentType* GetParent() const {return pParent;} - const OUString& GetName() const {return sContentName;} + const SwContentType* GetParent() const {return m_pParent;} + const OUString& GetName() const {return m_sContentName;} bool operator==(const SwContent& /*rCont*/) const { // they're never equal, otherwise they'd fall out of the array @@ -93,13 +93,13 @@ public: bool operator<(const SwContent& rCont) const { // at first sort by position and then by name - if (nYPosition != rCont.nYPosition) - return nYPosition < rCont.nYPosition; - return vcl::NaturalSortCompare(sContentName, rCont.sContentName) < 0; + if (m_nYPosition != rCont.m_nYPosition) + return m_nYPosition < rCont.m_nYPosition; + return vcl::NaturalSortCompare(m_sContentName, rCont.m_sContentName) < 0; } - bool IsInvisible() const {return bInvisible;} - void SetInvisible(){ bInvisible = true;} + bool IsInvisible() const {return m_bInvisible;} + void SetInvisible(){ m_bInvisible = true;} }; #endif |