diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-07-24 00:00:12 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-08-19 10:18:35 +0200 |
commit | e1ab83cbc47ff581dd826d757dd2997743f47d58 (patch) | |
tree | 2abc4c55a80651f2070cc585ac2c82cc614b926c /svl | |
parent | 9a3cde8f2ad603cf0c57eab66276dea977b20de8 (diff) |
svl: rename SfxRectangleItem::aVal to maVal
Change-Id: I7bc86de644749fb42eba89872828b15be47bb0dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137380
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/rectitem.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/svl/source/items/rectitem.cxx b/svl/source/items/rectitem.cxx index 9f6789d3b707..f6a5db309d4b 100644 --- a/svl/source/items/rectitem.cxx +++ b/svl/source/items/rectitem.cxx @@ -37,7 +37,7 @@ SfxRectangleItem::SfxRectangleItem() SfxRectangleItem::SfxRectangleItem( sal_uInt16 nW, const tools::Rectangle& rVal ) : SfxPoolItem( nW ), - aVal( rVal ) + maVal( rVal ) { } @@ -51,10 +51,10 @@ bool SfxRectangleItem::GetPresentation const IntlWrapper& ) const { - rText = OUString::number(aVal.Top()) + ", " + - OUString::number(aVal.Left()) + ", " + - OUString::number(aVal.Bottom()) + ", " + - OUString::number(aVal.Right()); + rText = OUString::number(maVal.Top()) + ", " + + OUString::number(maVal.Left()) + ", " + + OUString::number(maVal.Bottom()) + ", " + + OUString::number(maVal.Right()); return true; } @@ -62,7 +62,7 @@ bool SfxRectangleItem::GetPresentation bool SfxRectangleItem::operator==( const SfxPoolItem& rItem ) const { assert(SfxPoolItem::operator==(rItem)); - return static_cast<const SfxRectangleItem&>(rItem).aVal == aVal; + return static_cast<const SfxRectangleItem&>(rItem).maVal == maVal; } SfxRectangleItem* SfxRectangleItem::Clone(SfxItemPool *) const @@ -78,16 +78,16 @@ bool SfxRectangleItem::QueryValue( css::uno::Any& rVal, { case 0: { - rVal <<= css::awt::Rectangle( aVal.Left(), - aVal.Top(), - aVal.getOpenWidth(), - aVal.getOpenHeight() ); + rVal <<= css::awt::Rectangle( maVal.Left(), + maVal.Top(), + maVal.getOpenWidth(), + maVal.getOpenHeight() ); break; } - case MID_RECT_LEFT: rVal <<= aVal.Left(); break; - case MID_RECT_RIGHT: rVal <<= aVal.Top(); break; - case MID_WIDTH: rVal <<= aVal.getOpenWidth(); break; - case MID_HEIGHT: rVal <<= aVal.getOpenHeight(); break; + case MID_RECT_LEFT: rVal <<= maVal.Left(); break; + case MID_RECT_RIGHT: rVal <<= maVal.Top(); break; + case MID_WIDTH: rVal <<= maVal.getOpenWidth(); break; + case MID_HEIGHT: rVal <<= maVal.getOpenHeight(); break; default: OSL_FAIL("Wrong MemberID!"); return false; } @@ -112,15 +112,15 @@ bool SfxRectangleItem::PutValue( const css::uno::Any& rVal, switch ( nMemberId ) { case 0: - aVal.SetLeft( aValue.X ); - aVal.SetTop( aValue.Y ); - aVal.setWidth( aValue.Width ); - aVal.setHeight( aValue.Height ); + maVal.SetLeft( aValue.X ); + maVal.SetTop( aValue.Y ); + maVal.setWidth( aValue.Width ); + maVal.setHeight( aValue.Height ); break; - case MID_RECT_LEFT: aVal.SetPosX( nVal ); break; - case MID_RECT_RIGHT: aVal.SetPosY( nVal ); break; - case MID_WIDTH: aVal.setWidth( nVal ); break; - case MID_HEIGHT: aVal.setHeight( nVal ); break; + case MID_RECT_LEFT: maVal.SetPosX( nVal ); break; + case MID_RECT_RIGHT: maVal.SetPosY( nVal ); break; + case MID_WIDTH: maVal.setWidth( nVal ); break; + case MID_HEIGHT: maVal.setHeight( nVal ); break; default: OSL_FAIL("Wrong MemberID!"); return false; } } |