summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/regionband.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/regionband.cxx')
-rw-r--r--vcl/source/gdi/regionband.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx
index 4f89231dd1ad..c93fc4c73d26 100644
--- a/vcl/source/gdi/regionband.cxx
+++ b/vcl/source/gdi/regionband.cxx
@@ -1233,13 +1233,13 @@ void RegionBand::GetRegionRectangles(RectangleVector& rTarget) const
{
ImplRegionBandSep* pCurrRectBandSep = pCurrRectBand->mpFirstSep;
- aRectangle.Top() = pCurrRectBand->mnYTop;
- aRectangle.Bottom() = pCurrRectBand->mnYBottom;
+ aRectangle.SetTop( pCurrRectBand->mnYTop );
+ aRectangle.SetBottom( pCurrRectBand->mnYBottom );
while(pCurrRectBandSep)
{
- aRectangle.Left() = pCurrRectBandSep->mnXLeft;
- aRectangle.Right() = pCurrRectBandSep->mnXRight;
+ aRectangle.SetLeft( pCurrRectBandSep->mnXLeft );
+ aRectangle.SetRight( pCurrRectBandSep->mnXRight );
rTarget.push_back(aRectangle);
pCurrRectBandSep = pCurrRectBandSep->mpNextSep;
}