diff options
-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() { } |