From 8aa8893be8f3c7e4acfdacb401f8fe3d297647b5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 30 Sep 2019 09:07:22 +0200 Subject: sw: prefix members of SwGammaGrf See tdf#94879 for motivation. Change-Id: I53e8dd6a24da0a35d36f415237525b8cb87854c4 Reviewed-on: https://gerrit.libreoffice.org/79824 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/inc/grfatr.hxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx index 87db52a36ab9..bb8f41311fb7 100644 --- a/sw/inc/grfatr.hxx +++ b/sw/inc/grfatr.hxx @@ -38,11 +38,11 @@ enum class MirrorGraph class SW_DLLPUBLIC SwMirrorGrf : public SfxEnumItem { - bool bGrfToggle; // Flip graphics on even pages. + bool m_bGrfToggle; // Flip graphics on even pages. public: SwMirrorGrf( MirrorGraph eMiro = MirrorGraph::Dont ) - : SfxEnumItem( RES_GRFATR_MIRRORGRF, eMiro ), bGrfToggle( false ) + : SfxEnumItem( RES_GRFATR_MIRRORGRF, eMiro ), m_bGrfToggle( false ) {} // pure virtual methods of SfxPoolItem @@ -62,8 +62,8 @@ public: virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - bool IsGrfToggle() const { return bGrfToggle; } - void SetGrfToggle( bool bNew ) { bGrfToggle = bNew; } + bool IsGrfToggle() const { return m_bGrfToggle; } + void SetGrfToggle( bool bNew ) { m_bGrfToggle = bNew; } }; class SW_DLLPUBLIC SwCropGrf : public SvxGrfCrop @@ -80,7 +80,7 @@ public: class SAL_DLLPUBLIC_RTTI SwRotationGrf : public SfxUInt16Item { private: - Size const aUnrotatedSize; + Size const m_aUnrotatedSize; // tdf#115529 check and evtl. correct value, it is in 10th // degrees and *has* to be in the range [0 .. 3600[ @@ -105,7 +105,7 @@ public: virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - const Size& GetUnrotatedSize() const { return aUnrotatedSize; } + const Size& GetUnrotatedSize() const { return m_aUnrotatedSize; } }; class SW_DLLPUBLIC SwLuminanceGrf : public SfxInt16Item @@ -183,13 +183,13 @@ public: class SW_DLLPUBLIC SwGammaGrf : public SfxPoolItem { - double nValue; + double m_nValue; public: - SwGammaGrf() : SfxPoolItem( RES_GRFATR_GAMMA ), nValue( 1.0 ) + SwGammaGrf() : SfxPoolItem( RES_GRFATR_GAMMA ), m_nValue( 1.0 ) {} SwGammaGrf( const double& rVal ) - : SfxPoolItem( RES_GRFATR_GAMMA ), nValue( rVal ) + : SfxPoolItem( RES_GRFATR_GAMMA ), m_nValue( rVal ) {} // pure virtual methods from SfxEnumItem @@ -206,7 +206,7 @@ public: virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - const double& GetValue() const { return nValue; } + const double& GetValue() const { return m_nValue; } }; class SwInvertGrf: public SfxBoolItem -- cgit