summaryrefslogtreecommitdiff
path: root/svx/source/items/grfitem.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-07-08 08:21:19 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-07-08 12:45:04 +0200
commit2a22025e1819be82f51938ed7ab705f656ad693c (patch)
tree2598b77a34025a39d74ccf0a3e163692296878ac /svx/source/items/grfitem.cxx
parent5f12f5b2ba3a7ee4ba1086047854929fbaabec58 (diff)
svx: prefix members of SvxGrfCrop
See tdf#94879 for motivation. Change-Id: Idbba42dd3af7a47db6a56c3a129a4da54af076d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170135 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx/source/items/grfitem.cxx')
-rw-r--r--svx/source/items/grfitem.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx
index fcc06e2b39be..62f34094e228 100644
--- a/svx/source/items/grfitem.cxx
+++ b/svx/source/items/grfitem.cxx
@@ -27,14 +27,14 @@ using namespace ::com::sun::star;
SvxGrfCrop::SvxGrfCrop( TypedWhichId<SvxGrfCrop> nItemId, SfxItemType eType )
: SfxPoolItem( nItemId, eType ),
- nLeft( 0 ), nRight( 0 ), nTop( 0 ), nBottom( 0 )
+ m_nLeft( 0 ), m_nRight( 0 ), m_nTop( 0 ), m_nBottom( 0 )
{}
SvxGrfCrop::SvxGrfCrop( sal_Int32 nL, sal_Int32 nR,
sal_Int32 nT, sal_Int32 nB, TypedWhichId<SvxGrfCrop> nItemId,
SfxItemType eItemType )
: SfxPoolItem( nItemId, eItemType ),
- nLeft( nL ), nRight( nR ), nTop( nT ), nBottom( nB )
+ m_nLeft( nL ), m_nRight( nR ), m_nTop( nT ), m_nBottom( nB )
{}
SvxGrfCrop::~SvxGrfCrop()
@@ -46,10 +46,10 @@ bool SvxGrfCrop::operator==( const SfxPoolItem& rAttr ) const
assert(SfxPoolItem::operator==(rAttr));
const SvxGrfCrop& rCrop = static_cast<const SvxGrfCrop&>(rAttr);
- return nLeft == rCrop.GetLeft() &&
- nRight == rCrop.GetRight() &&
- nTop == rCrop.GetTop() &&
- nBottom == rCrop.GetBottom();
+ return m_nLeft == rCrop.GetLeft() &&
+ m_nRight == rCrop.GetRight() &&
+ m_nTop == rCrop.GetTop() &&
+ m_nBottom == rCrop.GetBottom();
}
@@ -57,10 +57,10 @@ bool SvxGrfCrop::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
{
bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
text::GraphicCrop aRet;
- aRet.Left = nLeft;
- aRet.Right = nRight;
- aRet.Top = nTop;
- aRet.Bottom = nBottom;
+ aRet.Left = m_nLeft;
+ aRet.Right = m_nRight;
+ aRet.Top = m_nTop;
+ aRet.Bottom = m_nBottom;
if( bConvert )
{
@@ -90,10 +90,10 @@ bool SvxGrfCrop::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
aVal.Bottom = o3tl::toTwips(aVal.Bottom, o3tl::Length::mm100);
}
- nLeft = aVal.Left ;
- nRight = aVal.Right ;
- nTop = aVal.Top ;
- nBottom = aVal.Bottom;
+ m_nLeft = aVal.Left ;
+ m_nRight = aVal.Right ;
+ m_nTop = aVal.Top ;
+ m_nBottom = aVal.Bottom;
return true;
}