summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-09-30 09:07:22 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-09-30 09:58:32 +0200
commit8aa8893be8f3c7e4acfdacb401f8fe3d297647b5 (patch)
tree59bd26921285d15519a33b5c9ba3651fa831c35b /sw/inc
parentbdbb65ea3d147b6e160aaeda5740b032469590e3 (diff)
sw: prefix members of SwGammaGrf
See tdf#94879 for motivation. Change-Id: I53e8dd6a24da0a35d36f415237525b8cb87854c4 Reviewed-on: https://gerrit.libreoffice.org/79824 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/grfatr.hxx20
1 files changed, 10 insertions, 10 deletions
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<MirrorGraph>
{
- 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