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/source/core/graphic/grfatr.cxx | 8 ++++---- sw/source/uibase/utlui/attrdesc.cxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sw/source') diff --git a/sw/source/core/graphic/grfatr.cxx b/sw/source/core/graphic/grfatr.cxx index 2368fdbbea51..680dfc0c30ea 100644 --- a/sw/source/core/graphic/grfatr.cxx +++ b/sw/source/core/graphic/grfatr.cxx @@ -169,7 +169,7 @@ sal_Int16 SwRotationGrf::checkAndCorrectValue(sal_Int16 nValue) SwRotationGrf::SwRotationGrf( sal_Int16 nVal, const Size& rSz ) // tdf#115529 check and evtl. correct value : SfxUInt16Item( RES_GRFATR_ROTATION, checkAndCorrectValue(nVal) ), - aUnrotatedSize( rSz ) + m_aUnrotatedSize( rSz ) { } @@ -246,18 +246,18 @@ SfxPoolItem* SwGammaGrf::Clone( SfxItemPool * ) const bool SwGammaGrf::operator==( const SfxPoolItem& rCmp ) const { return SfxPoolItem::operator==( rCmp ) && - nValue == static_cast(rCmp).GetValue(); + m_nValue == static_cast(rCmp).GetValue(); } bool SwGammaGrf::QueryValue( uno::Any& rVal, sal_uInt8 ) const { - rVal <<= nValue; + rVal <<= m_nValue; return true; } bool SwGammaGrf::PutValue( const uno::Any& rVal, sal_uInt8 ) { - return rVal >>= nValue; + return rVal >>= m_nValue; } // Sw___Grf::Clone(..) cont'd diff --git a/sw/source/uibase/utlui/attrdesc.cxx b/sw/source/uibase/utlui/attrdesc.cxx index e69c13419bf0..421d1d749da0 100644 --- a/sw/source/uibase/utlui/attrdesc.cxx +++ b/sw/source/uibase/utlui/attrdesc.cxx @@ -695,7 +695,7 @@ bool SwMirrorGrf::GetPresentation( if (pId) { rText = SwResId(pId); - if (bGrfToggle) + if (m_bGrfToggle) rText += SwResId( STR_MIRROR_TOGGLE ); } return true; -- cgit