summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bmpacc3.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-29 21:42:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-31 21:18:02 +0100
commita480f2fa061d0762da9f5c0ecd46d21a8bdb46eb (patch)
tree1733441292dafe9e630dce91401aa9ce6bb6ccf6 /vcl/source/gdi/bmpacc3.cxx
parentb9f14a057f53569b140d194a14941ef3d25c87b0 (diff)
callcatcher: remove unused FillPolyPolygon
Diffstat (limited to 'vcl/source/gdi/bmpacc3.cxx')
-rw-r--r--vcl/source/gdi/bmpacc3.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/vcl/source/gdi/bmpacc3.cxx b/vcl/source/gdi/bmpacc3.cxx
index 9f07c4632ac3..7da056413126 100644
--- a/vcl/source/gdi/bmpacc3.cxx
+++ b/vcl/source/gdi/bmpacc3.cxx
@@ -315,32 +315,4 @@ void BitmapWriteAccess::DrawPolygon( const Polygon& rPoly )
}
}
-// ------------------------------------------------------------------
-
-void BitmapWriteAccess::FillPolyPolygon( const PolyPolygon& rPolyPoly )
-{
- const sal_uInt16 nCount = rPolyPoly.Count();
-
- if( nCount && mpFillColor )
- {
- const BitmapColor& rFillColor = *mpFillColor;
- Region aRegion( rPolyPoly );
- Rectangle aRect;
-
- aRegion.Intersect( Rectangle( Point(), Size( Width(), Height() ) ) );
-
- if( !aRegion.IsEmpty() )
- {
- RegionHandle aRegHandle( aRegion.BeginEnumRects() );
-
- while( aRegion.GetNextEnumRect( aRegHandle, aRect ) )
- for( long nY = aRect.Top(), nEndY = aRect.Bottom(); nY <= nEndY; nY++ )
- for( long nX = aRect.Left(), nEndX = aRect.Right(); nX <= nEndX; nX++ )
- SetPixel( nY, nX, rFillColor );
-
- aRegion.EndEnumRects( aRegHandle );
- }
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */