diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-07-01 09:01:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-07-01 09:42:44 +0200 |
commit | 40cb97b077af86b98da7ddd499a84748f53740f6 (patch) | |
tree | 75e01e44d21f239ff406e1c460e7aa4cb77e0cac | |
parent | 1781ff1148cad6f0b9bd59678c2d450255119a1e (diff) |
sw: prefix members of SwBlankPortion
See tdf#94879 for motivation.
Change-Id: I4e137e71b32a1fa5fa0f20473142e7d72a891f4e
Reviewed-on: https://gerrit.libreoffice.org/74945
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | sw/source/core/text/porexp.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/porexp.hxx | 8 |
2 files changed, 7 insertions, 7 deletions
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; |