diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-21 09:27:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-21 09:28:00 +0200 |
commit | 078673b6843ecd7231b146a8472b229d3db4d43b (patch) | |
tree | 9a77d748f51f054f9da80a045fc822401b0e459f /sw | |
parent | dcdba6ed8984fd135a346a921b3a7888ecef9cb0 (diff) |
sw: prefix members of SwUpdateAttr
Change-Id: I6006ce61ed28fc748495ac58d191e1cfa95e3335
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/hints.hxx | 16 | ||||
-rw-r--r-- | sw/source/core/attr/hints.cxx | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index c48705ae7c5d..30b2bc0e5af1 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -98,32 +98,32 @@ public: class SwUpdateAttr : public SwMsgPoolItem { private: - sal_Int32 nStart; - sal_Int32 nEnd; - sal_uInt16 nWhichAttr; - std::vector<sal_uInt16> aWhichFormatAttr; // attributes changed inside RES_TXTATR_AUTOFMT + sal_Int32 m_nStart; + sal_Int32 m_nEnd; + sal_uInt16 m_nWhichAttr; + std::vector<sal_uInt16> m_aWhichFormatAttr; // attributes changed inside RES_TXTATR_AUTOFMT public: SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ); sal_Int32 getStart() const { - return nStart; + return m_nStart; } sal_Int32 getEnd() const { - return nEnd; + return m_nEnd; } sal_uInt16 getWhichAttr() const { - return nWhichAttr; + return m_nWhichAttr; } const std::vector<sal_uInt16>& getFormatAttr() const { - return aWhichFormatAttr; + return m_aWhichFormatAttr; } }; diff --git a/sw/source/core/attr/hints.cxx b/sw/source/core/attr/hints.cxx index 266e2f155170..5e0eba393c93 100644 --- a/sw/source/core/attr/hints.cxx +++ b/sw/source/core/attr/hints.cxx @@ -45,7 +45,7 @@ SwDelText::SwDelText( sal_Int32 nS, sal_Int32 nL ) } SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ) - : SwMsgPoolItem( RES_UPDATE_ATTR ), nStart( nS ), nEnd( nE ), nWhichAttr( nW ), aWhichFormatAttr() + : SwMsgPoolItem( RES_UPDATE_ATTR ), m_nStart( nS ), m_nEnd( nE ), m_nWhichAttr( nW ), m_aWhichFormatAttr() { } |