[Libreoffice-commits] core.git: sw/inc sw/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jan 4 02:10:17 PST 2016


 sw/inc/hints.hxx              |   16 ++++++++--------
 sw/source/core/attr/hints.cxx |   20 ++++++++++----------
 2 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit f591a096de3b69ecba16b002fb6ba9ba496ad53a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jan 4 09:29:02 2016 +0100

    sw: prefix members of SwAttrSetChg
    
    Change-Id: Ie24194fe04dafbc447cf8a8a015316e9ba6e9ac9
    Reviewed-on: https://gerrit.libreoffice.org/21071
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index f5da6ee..dc8d179 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 32f92d7..ebcd788 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
 


More information about the Libreoffice-commits mailing list