diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-02-22 09:05:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-22 10:20:05 +0100 |
commit | 905f8e51280cc42a81960c9dc6e6102bcbbaa1ca (patch) | |
tree | 9d03b16983102e9d9f81a1d064f0db749ac516c7 /sw/source/core/text/porfly.hxx | |
parent | 7be139f114f5f14588e06f8224b0b978db833de2 (diff) |
sw: prefix members of SwFixPortion, SwFlyPortion, SwGluePortion and ...
... SwTabPortion
See tdf#94879 for motivation.
Change-Id: Ic3918caa922cfd99e361010b44fe9d0c95e28b1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111298
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/text/porfly.hxx')
-rw-r--r-- | sw/source/core/text/porfly.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx index 7227c76b95da..480492f7a829 100644 --- a/sw/source/core/text/porfly.hxx +++ b/sw/source/core/text/porfly.hxx @@ -30,12 +30,12 @@ struct SwCursorMoveState; class SwFlyPortion : public SwFixPortion { - sal_uInt16 nBlankWidth; + sal_uInt16 m_nBlankWidth; public: explicit SwFlyPortion( const SwRect &rFlyRect ) - : SwFixPortion(rFlyRect), nBlankWidth( 0 ) { SetWhichPor( PortionType::Fly ); } - sal_uInt16 GetBlankWidth( ) const { return nBlankWidth; } - void SetBlankWidth( const sal_uInt16 nNew ) { nBlankWidth = nNew; } + : SwFixPortion(rFlyRect), m_nBlankWidth( 0 ) { SetWhichPor( PortionType::Fly ); } + sal_uInt16 GetBlankWidth( ) const { return m_nBlankWidth; } + void SetBlankWidth( const sal_uInt16 nNew ) { m_nBlankWidth = nNew; } virtual void Paint( const SwTextPaintInfo &rInf ) const override; virtual bool Format( SwTextFormatInfo &rInf ) override; }; |