sw/source/core/text/porexp.cxx |    6 +++---
 sw/source/core/text/porexp.hxx |    8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 40cb97b077af86b98da7ddd499a84748f53740f6
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Jul 1 09:01:01 2019 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Mon Jul 1 09:42:44 2019 +0200

    sw: prefix members of SwBlankPortion
    
    See tdf#94879 for motivation.
    
    Change-Id: I4e137e71b32a1fa5fa0f20473142e7d72a891f4e
    Reviewed-on: https://gerrit.libreoffice.org/74945
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/text/porexp.cxx b/sw/source/core/text/porexp.cxx
index 2e090c5992e6..0eff0701a6d1 100644
--- a/sw/source/core/text/porexp.cxx
+++ b/sw/source/core/text/porexp.cxx
@@ -194,20 +194,20 @@ bool SwBlankPortion::Format( SwTextFormatInfo &rInf )
 
 void SwBlankPortion::Paint( const SwTextPaintInfo &rInf ) const
 {
-    if( !bMulti ) // No gray background for multiportion brackets
+    if( !m_bMulti ) // No gray background for multiportion brackets
         rInf.DrawViewOpt( *this, PortionType::Blank );
     SwExpandPortion::Paint( rInf );
 }
 
 bool SwBlankPortion::GetExpText( const SwTextSizeInfo&, OUString &rText ) const
 {
-    rText = OUString(cChar);
+    rText = OUString(m_cChar);
     return true;
 }
 
 void SwBlankPortion::HandlePortion( SwPortionHandler& rPH ) const
 {
-    rPH.Special( GetLen(), OUString( cChar ), GetWhichPor() );
+    rPH.Special( GetLen(), OUString( m_cChar ), GetWhichPor() );
 }
 
 SwPostItsPortion::SwPostItsPortion( bool bScrpt )
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx
index e787ae400e4b..979516ffdafe 100644
--- a/sw/source/core/text/porexp.hxx
+++ b/sw/source/core/text/porexp.hxx
@@ -38,12 +38,12 @@ public:
 
 class SwBlankPortion : public SwExpandPortion
 {
-    sal_Unicode cChar;
-    bool const bMulti;        // For multiportion brackets
+    sal_Unicode m_cChar;
+    bool const m_bMulti;        // For multiportion brackets
 public:
     SwBlankPortion( sal_Unicode cCh, bool bMult = false )
-        : cChar( cCh ), bMulti( bMult )
-        { cChar = cCh; SetLen(TextFrameIndex(1)); SetWhichPor( 
PortionType::Blank ); }
+        : m_cChar( cCh ), m_bMulti( bMult )
+        { m_cChar = cCh; SetLen(TextFrameIndex(1)); SetWhichPor( 
PortionType::Blank ); }
 
     virtual SwLinePortion *Compress() override;
     virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) 
const override;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to