toolkit/source/awt/vclxregion.cxx | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit 42d6a8c3ab70237f3ec35fbd2b735e6c711b18af Author: Swarnadeep Paul <[email protected]> AuthorDate: Sat Feb 21 09:55:47 2026 +0530 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Wed Feb 25 18:45:54 2026 +0100 tdf#114441 Replace sal_uLong in svx These were all comments removed for consistency. Change-Id: I9a95f22959ac7a969662d748327485ec5773899d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199921 Reviewed-by: Ilmari Lauhakangas <[email protected]> Tested-by: Jenkins diff --git a/toolkit/source/awt/vclxregion.cxx b/toolkit/source/awt/vclxregion.cxx index c30538b27695..4efb1a5de5c1 100644 --- a/toolkit/source/awt/vclxregion.cxx +++ b/toolkit/source/awt/vclxregion.cxx @@ -118,7 +118,6 @@ css::uno::Sequence< css::awt::Rectangle > VCLXRegion::getRectangles() RectangleVector aRectangles; maRegion.GetRegionRectangles(aRectangles); -// sal_uLong nRects = maRegion.GetRectCount(); css::uno::Sequence< css::awt::Rectangle > aRects(aRectangles.size()); sal_uInt32 a(0); @@ -127,13 +126,6 @@ css::uno::Sequence< css::awt::Rectangle > VCLXRegion::getRectangles() aRects.getArray()[a++] = vcl::unohelper::ConvertToAWTRect(rRect); } - //Rectangle aRect; - //sal_uInt32 nR = 0; - //RegionHandle h = maRegion.BeginEnumRects(); - //while ( maRegion.GetEnumRects( h, aRect ) ) - // aRects.getArray()[nR++] = vcl::unohelper::ConvertToAWTRect( aRect ); - //maRegion.EndEnumRects( h ); - return aRects; }
