diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-25 09:18:46 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-25 11:50:02 +0100 |
commit | 475167c4837a5df25f41b76a73c681664ba19bbf (patch) | |
tree | 3987f2e4c3237938a7753bc7eb5fc575a56ac909 /sw/inc | |
parent | 3525b4e098290af9953e4be571e242598fcc0a49 (diff) |
sw: prefix members in usrfld.hxx
Change-Id: I8859e0e7b58d630eafcd6cfa3b34ef9466747765
Reviewed-on: https://gerrit.libreoffice.org/68300
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/usrfld.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 01e38b360685..2ba7e2fd4bc6 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -34,14 +34,14 @@ class SwDoc; */ class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType { - bool bValidValue : 1; - bool bDeleted : 1; + bool m_bValidValue : 1; + bool m_bDeleted : 1; /// Float value type. - double nValue; - OUString aName; + double m_nValue; + OUString m_aName; /// String value type. - OUString aContent; - sal_uInt16 nType; + OUString m_aContent; + sal_uInt16 m_nType; public: SwUserFieldType( SwDoc* pDocPtr, const OUString& ); @@ -63,8 +63,8 @@ public: inline sal_uInt16 GetType() const; inline void SetType(sal_uInt16); - bool IsDeleted() const { return bDeleted; } - void SetDeleted( bool b ) { bDeleted = b; } + bool IsDeleted() const { return m_bDeleted; } + void SetDeleted( bool b ) { m_bDeleted = b; } virtual void QueryValue( css::uno::Any& rVal, sal_uInt16 nMId ) const override; virtual void PutValue( const css::uno::Any& rVal, sal_uInt16 nMId ) override; @@ -75,20 +75,20 @@ protected: }; inline bool SwUserFieldType::IsValid() const - { return bValidValue; } + { return m_bValidValue; } inline double SwUserFieldType::GetValue() const - { return nValue; } + { return m_nValue; } inline void SwUserFieldType::SetValue(const double nVal) - { nValue = nVal; } + { m_nValue = nVal; } inline sal_uInt16 SwUserFieldType::GetType() const - { return nType; } + { return m_nType; } inline void SwUserFieldType::SetType(sal_uInt16 nSub) { - nType = nSub; + m_nType = nSub; EnableFormat(!(nSub & nsSwGetSetExpType::GSE_STRING)); } @@ -100,7 +100,7 @@ inline void SwUserFieldType::SetType(sal_uInt16 nSub) */ class SW_DLLPUBLIC SwUserField : public SwValueField { - sal_uInt16 nSubType; + sal_uInt16 m_nSubType; virtual OUString ExpandImpl(SwRootFrame const* pLayout) const override; virtual std::unique_ptr<SwField> Copy() const override; |