diff options
Diffstat (limited to 'vcl/source/gdi/regionband.cxx')
-rw-r--r-- | vcl/source/gdi/regionband.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx index abd6fc4c365c..e7d1163bdb26 100644 --- a/vcl/source/gdi/regionband.cxx +++ b/vcl/source/gdi/regionband.cxx @@ -61,7 +61,7 @@ RegionBand& RegionBand::operator=(const RegionBand& rRef) return *this; } -RegionBand::RegionBand(const Rectangle& rRect) +RegionBand::RegionBand(const tools::Rectangle& rRect) : mpFirstBand(nullptr), mpLastCheckedBand(nullptr) { @@ -1155,7 +1155,7 @@ bool RegionBand::Exclude(const RegionBand& rSource) return true; } -Rectangle RegionBand::GetBoundRect() const +tools::Rectangle RegionBand::GetBoundRect() const { // get the boundaries of the first band @@ -1176,7 +1176,7 @@ Rectangle RegionBand::GetBoundRect() const pBand = pBand->mpNextBand; } - return Rectangle( nXLeft, nYTop, nXRight, nYBottom ); + return tools::Rectangle( nXLeft, nYTop, nXRight, nYBottom ); } void RegionBand::XOr(const RegionBand& rSource) @@ -1234,7 +1234,7 @@ void RegionBand::GetRegionRectangles(RectangleVector& rTarget) const // clear result vector rTarget.clear(); ImplRegionBand* pCurrRectBand = mpFirstBand; - Rectangle aRectangle; + tools::Rectangle aRectangle; while(pCurrRectBand) { |