summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-09-02 10:55:15 -0300
committerThomas Arnhold <thomas@arnhold.org>2013-09-03 09:16:14 +0000
commitb62826ad3887305a76ee1ceabe2060f9d6e8723f (patch)
tree554edd25a04e870c00799bb8d103ddfa3baf8de2 /vcl/source
parentea7ce8cf08521a7609d2ffc0969b1541fbbb9d0c (diff)
Remove more unused methods
Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a Reviewed-on: https://gerrit.libreoffice.org/5757 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/dbggui.cxx10
-rw-r--r--vcl/source/gdi/bmpacc.cxx13
-rw-r--r--vcl/source/gdi/bmpacc3.cxx40
3 files changed, 0 insertions, 63 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index 6833a95cd7d7..52177f079550 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -1785,16 +1785,6 @@ void DbgGUIStart()
}
}
-// -----------------------------------------------------------------------
-
-sal_uInt16 DbgRegisterNamedUserChannel( const OUString& _rChannelUIName, DbgPrintLine pProc )
-{
- DbgChannelId nChannelId = DbgRegisterUserChannel( pProc );
- UserDefinedChannels& rChannels = ImplDbgGetUserDefinedChannels();
- rChannels[ _rChannelUIName ] = nChannelId;
- return nChannelId;
-}
-
#endif // DBG_UTIL
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx
index d27090def05c..8e3836596e32 100644
--- a/vcl/source/gdi/bmpacc.cxx
+++ b/vcl/source/gdi/bmpacc.cxx
@@ -384,19 +384,6 @@ BitmapColor BitmapReadAccess::GetColorWithFallback( double fY, double fX, const
return rFallback;
}
-BitmapColor BitmapReadAccess::GetColorWithFallback( long nY, long nX, const BitmapColor& rFallback ) const
-{
- if(mpBuffer)
- {
- if(nX >= 0 && nY >= 0 && nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight)
- {
- return GetColor(nY, nX);
- }
- }
-
- return rFallback;
-}
-
BitmapWriteAccess::BitmapWriteAccess( Bitmap& rBitmap ) :
BitmapReadAccess( rBitmap, sal_True ),
mpLineColor ( NULL ),
diff --git a/vcl/source/gdi/bmpacc3.cxx b/vcl/source/gdi/bmpacc3.cxx
index 06c9c09128f2..791a75d9329d 100644
--- a/vcl/source/gdi/bmpacc3.cxx
+++ b/vcl/source/gdi/bmpacc3.cxx
@@ -243,44 +243,4 @@ void BitmapWriteAccess::DrawRect( const Rectangle& rRect )
}
}
-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() )
- {
- RectangleVector aRectangles;
- aRegion.GetRegionRectangles(aRectangles);
-
- for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); ++aRectIter)
- {
- for(long nY = aRectIter->Top(), nEndY = aRectIter->Bottom(); nY <= nEndY; nY++)
- {
- for(long nX = aRectIter->Left(), nEndX = aRectIter->Right(); nX <= nEndX; nX++)
- {
- SetPixel(nY, nX, rFillColor);
- }
- }
- }
-
- //RegionHandle aRegHandle( aRegion.BeginEnumRects() );
- //
- //while( aRegion.GetEnumRects( 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: */