diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-04-15 09:06:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-15 10:36:00 +0200 |
commit | 256480b8b80769149652bb62f401672ee8fafe1f (patch) | |
tree | a277893e56f74c13fff20aa4d5be5bfc720023ad /sw/source/uibase/inc/content.hxx | |
parent | 5218009f4b3f1f619d12151fc76ec14a12c6d89e (diff) |
sw: prefix members of SwContentType
Change-Id: Ia6d98985f2abf6733d54f49f448a2ce6d4e3572d
Reviewed-on: https://gerrit.libreoffice.org/70758
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r-- | sw/source/uibase/inc/content.hxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 83c73f7b84b2..d141a2a9a3c4 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -138,18 +138,18 @@ public: */ class SwContentType : public SwTypeNumber { - SwWrtShell* pWrtShell; + SwWrtShell* m_pWrtShell; std::unique_ptr<SwContentArr> - pMember; // array for content - OUString const sContentTypeName; // name of content type - OUString const sSingleContentTypeName; // name of content type, singular - OUString sTypeToken; // attachment for URL - size_t nMemberCount; // content count - ContentTypeId const nContentType; // content type's Id - sal_uInt8 nOutlineLevel; - bool bDataValid : 1; - bool bEdit: 1; // can this type be edited? - bool bDelete: 1; // can this type be deleted? + m_pMember; // array for content + OUString const m_sContentTypeName; // name of content type + OUString const m_sSingleContentTypeName; // name of content type, singular + OUString m_sTypeToken; // attachment for URL + size_t m_nMemberCount; // content count + ContentTypeId const m_nContentType; // content type's Id + sal_uInt8 m_nOutlineLevel; + bool m_bDataValid : 1; + bool m_bEdit: 1; // can this type be edited? + bool m_bDelete: 1; // can this type be deleted? protected: static OUString RemoveNewline(const OUString&); public: @@ -161,25 +161,25 @@ public: /** Fill the List of contents */ void FillMemberList(bool* pbLevelChanged = nullptr); size_t GetMemberCount() const - {return nMemberCount;}; - ContentTypeId GetType() const {return nContentType;} + {return m_nMemberCount;}; + ContentTypeId GetType() const {return m_nContentType;} /** Deliver content, for that if necessary fill the list */ const SwContent* GetMember(size_t nIndex); - const OUString& GetName() {return sContentTypeName;} - const OUString& GetSingleName() const {return sSingleContentTypeName;} - const OUString& GetTypeToken() const{return sTypeToken;} + const OUString& GetName() {return m_sContentTypeName;} + const OUString& GetSingleName() const {return m_sSingleContentTypeName;} + const OUString& GetTypeToken() const{return m_sTypeToken;} void SetOutlineLevel(sal_uInt8 nNew) { - nOutlineLevel = nNew; + m_nOutlineLevel = nNew; Invalidate(); } void Invalidate(); // only nMemberCount is read again - bool IsEditable() const {return bEdit;} - bool IsDeletable() const {return bDelete;} + bool IsEditable() const {return m_bEdit;} + bool IsDeletable() const {return m_bDelete;} }; #endif |