summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-07-24 11:06:48 -0300
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-25 07:20:34 +0000
commit6b0ea724538e2abbbdad7e8633e1c03a5e747427 (patch)
tree387ac521c925bc42e0c0ffe12729002d398b604a /vcl
parentc0cffa68488afd07fa99f74631ae121aa87a7d32 (diff)
Remove some unused code form unusedcode.easy
Change-Id: Ib9f0bc7416c7f05684802ba2bb5f014a340fb2e8 Reviewed-on: https://gerrit.libreoffice.org/5068 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/bmpacc3.cxx47
1 files changed, 0 insertions, 47 deletions
diff --git a/vcl/source/gdi/bmpacc3.cxx b/vcl/source/gdi/bmpacc3.cxx
index 8d327ae4baf9..6523967d485f 100644
--- a/vcl/source/gdi/bmpacc3.cxx
+++ b/vcl/source/gdi/bmpacc3.cxx
@@ -285,27 +285,6 @@ void BitmapWriteAccess::FillPolygon( const Polygon& rPoly )
}
}
-// ------------------------------------------------------------------
-
-void BitmapWriteAccess::DrawPolygon( const Polygon& rPoly )
-{
- if( mpFillColor )
- FillPolygon( rPoly );
-
- if( mpLineColor && ( !mpFillColor || ( *mpFillColor != *mpLineColor ) ) )
- {
- const sal_uInt16 nSize = rPoly.GetSize();
-
- for( sal_uInt16 i = 0, nSize1 = nSize - 1; i < nSize1; i++ )
- DrawLine( rPoly[ i ], rPoly[ i + 1 ] );
-
- if( rPoly[ nSize - 1 ] != rPoly[ 0 ] )
- DrawLine( rPoly[ nSize - 1 ], rPoly[ 0 ] );
- }
-}
-
-// ------------------------------------------------------------------
-
void BitmapWriteAccess::FillPolyPolygon( const PolyPolygon& rPolyPoly )
{
const sal_uInt16 nCount = rPolyPoly.Count();
@@ -346,30 +325,4 @@ void BitmapWriteAccess::FillPolyPolygon( const PolyPolygon& rPolyPoly )
}
}
-// ------------------------------------------------------------------
-
-void BitmapWriteAccess::DrawPolyPolygon( const PolyPolygon& rPolyPoly )
-{
- if( mpFillColor )
- FillPolyPolygon( rPolyPoly );
-
- if( mpLineColor && ( !mpFillColor || ( *mpFillColor != *mpLineColor ) ) )
- {
- for( sal_uInt16 n = 0, nCount = rPolyPoly.Count(); n < nCount; )
- {
- const Polygon& rPoly = rPolyPoly[ n++ ];
- const sal_uInt16 nSize = rPoly.GetSize();
-
- if( nSize )
- {
- for( sal_uInt16 i = 0, nSize1 = nSize - 1; i < nSize1; i++ )
- DrawLine( rPoly[ i ], rPoly[ i + 1 ] );
-
- if( rPoly[ nSize - 1 ] != rPoly[ 0 ] )
- DrawLine( rPoly[ nSize - 1 ], rPoly[ 0 ] );
- }
- }
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */