diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-04 09:29:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-04 10:09:35 +0000 |
commit | f591a096de3b69ecba16b002fb6ba9ba496ad53a (patch) | |
tree | aae75eed46868f751cd45daab264f589e4f87c6e | |
parent | 29be1b06b8e63694d1ce60d8b7af3f21791bf697 (diff) |
sw: prefix members of SwAttrSetChg
Change-Id: Ie24194fe04dafbc447cf8a8a015316e9ba6e9ac9
Reviewed-on: https://gerrit.libreoffice.org/21071
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r-- | sw/inc/hints.hxx | 16 | ||||
-rw-r--r-- | sw/source/core/attr/hints.cxx | 20 |
2 files changed, 18 insertions, 18 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index f5da6ee6c5c5..dc8d1799dbc7 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -192,27 +192,27 @@ public: */ class SwAttrSetChg: public SwMsgPoolItem { - bool bDelSet; - SwAttrSet* pChgSet; ///< what has changed - const SwAttrSet* pTheChgdSet; ///< is only used to compare + bool m_bDelSet; + SwAttrSet* m_pChgSet; ///< what has changed + const SwAttrSet* m_pTheChgdSet; ///< is only used to compare public: SwAttrSetChg( const SwAttrSet& rTheSet, SwAttrSet& rSet ); SwAttrSetChg( const SwAttrSetChg& ); virtual ~SwAttrSetChg(); /// What has changed - const SwAttrSet* GetChgSet() const { return pChgSet; } - SwAttrSet* GetChgSet() { return pChgSet; } + const SwAttrSet* GetChgSet() const { return m_pChgSet; } + SwAttrSet* GetChgSet() { return m_pChgSet; } /// Where it has changed - const SwAttrSet* GetTheChgdSet() const { return pTheChgdSet; } + const SwAttrSet* GetTheChgdSet() const { return m_pTheChgdSet; } - sal_uInt16 Count() const { return pChgSet->Count(); } + sal_uInt16 Count() const { return m_pChgSet->Count(); } void ClearItem( sal_uInt16 nWhichL = 0 ) #ifdef DBG_UTIL ; #else - { pChgSet->ClearItem( nWhichL ); } + { m_pChgSet->ClearItem( nWhichL ); } #endif }; diff --git a/sw/source/core/attr/hints.cxx b/sw/source/core/attr/hints.cxx index 32f92d7bf444..ebcd7883f75d 100644 --- a/sw/source/core/attr/hints.cxx +++ b/sw/source/core/attr/hints.cxx @@ -78,31 +78,31 @@ SwAutoFormatGetDocNode::SwAutoFormatGetDocNode( const SwNodes* pNds ) SwAttrSetChg::SwAttrSetChg( const SwAttrSet& rTheSet, SwAttrSet& rSet ) : SwMsgPoolItem( RES_ATTRSET_CHG ), - bDelSet( false ), - pChgSet( &rSet ), - pTheChgdSet( &rTheSet ) + m_bDelSet( false ), + m_pChgSet( &rSet ), + m_pTheChgdSet( &rTheSet ) { } SwAttrSetChg::SwAttrSetChg( const SwAttrSetChg& rChgSet ) : SwMsgPoolItem( RES_ATTRSET_CHG ), - bDelSet( true ), - pTheChgdSet( rChgSet.pTheChgdSet ) + m_bDelSet( true ), + m_pTheChgdSet( rChgSet.m_pTheChgdSet ) { - pChgSet = new SwAttrSet( *rChgSet.pChgSet ); + m_pChgSet = new SwAttrSet( *rChgSet.m_pChgSet ); } SwAttrSetChg::~SwAttrSetChg() { - if( bDelSet ) - delete pChgSet; + if( m_bDelSet ) + delete m_pChgSet; } #ifdef DBG_UTIL void SwAttrSetChg::ClearItem( sal_uInt16 nWhch ) { - OSL_ENSURE( bDelSet, "The Set may not be changed!" ); - pChgSet->ClearItem( nWhch ); + OSL_ENSURE( m_bDelSet, "The Set may not be changed!" ); + m_pChgSet->ClearItem( nWhch ); } #endif |