summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-07 15:53:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-07 15:54:16 +0100
commitaefbfc7101bb9b4ef20968d45306ab97573f6597 (patch)
tree314a80042f59b05443276d6e311d0cbc71684087 /vcl/source
parent3f2b771e5f53a7f079416ae6fc42625420b725d7 (diff)
callcatcher: update and remove newly unused methods
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/slider.cxx19
-rw-r--r--vcl/source/gdi/pdfwriter.cxx5
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx42
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx1
4 files changed, 0 insertions, 67 deletions
diff --git a/vcl/source/control/slider.cxx b/vcl/source/control/slider.cxx
index dc79ca7026b0..c49f4cbba9e1 100644
--- a/vcl/source/control/slider.cxx
+++ b/vcl/source/control/slider.cxx
@@ -104,25 +104,6 @@ Slider::Slider( Window* pParent, WinBits nStyle ) :
// -----------------------------------------------------------------------
-void Slider::ImplLoadRes( const ResId& rResId )
-{
- Control::ImplLoadRes( rResId );
-
- sal_Int16 nMin = ReadShortRes();
- sal_Int16 nMax = ReadShortRes();
- sal_Int16 nThumbPos = ReadShortRes();
- sal_Int16 nPage = ReadShortRes();
- sal_Int16 nStep = ReadShortRes();
- /* sal_Int16 nVisibleSize = */ ReadShortRes();
-
- SetRange( Range( nMin, nMax ) );
- SetLineSize( nStep );
- SetPageSize( nPage );
- SetThumbPos( nThumbPos );
-}
-
-// -----------------------------------------------------------------------
-
void Slider::ImplInitSettings()
{
Window* pParent = GetParent();
diff --git a/vcl/source/gdi/pdfwriter.cxx b/vcl/source/gdi/pdfwriter.cxx
index 41b8b95f538f..8392dc1841d0 100644
--- a/vcl/source/gdi/pdfwriter.cxx
+++ b/vcl/source/gdi/pdfwriter.cxx
@@ -186,11 +186,6 @@ void PDFWriter::DrawPixel( const Point& rPos, const Color& rColor )
pImplementation->drawPixel( rPos, rColor );
}
-void PDFWriter::DrawPixel( const Polygon& rPts, const Color* pColors )
-{
- pImplementation->drawPixel( rPts, pColors );
-}
-
void PDFWriter::DrawBitmap( const Point& rDestPt, const Size& rDestSize, const Bitmap& rBitmap )
{
pImplementation->drawBitmap( rDestPt, rDestSize, rBitmap );
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 243d728b03ad..953dc65312ab 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -9131,48 +9131,6 @@ void PDFWriterImpl::drawPixel( const Point& rPoint, const Color& rColor )
setFillColor( aOldFillColor );
}
-void PDFWriterImpl::drawPixel( const Polygon& rPoints, const Color* pColors )
-{
- MARK( "drawPixel with Polygon" );
-
- updateGraphicsState();
-
- if( m_aGraphicsStack.front().m_aLineColor == Color( COL_TRANSPARENT ) && ! pColors )
- return;
-
- sal_uInt16 nPoints = rPoints.GetSize();
- OStringBuffer aLine( nPoints*40 );
- aLine.append( "q " );
- if( ! pColors )
- {
- appendNonStrokingColor( m_aGraphicsStack.front().m_aLineColor, aLine );
- aLine.append( ' ' );
- }
-
- OStringBuffer aPixel(32);
- aPixel.append( ' ' );
- appendDouble( 1.0/double(getReferenceDevice()->ImplGetDPIX()), aPixel );
- aPixel.append( ' ' );
- appendDouble( 1.0/double(getReferenceDevice()->ImplGetDPIY()), aPixel );
- OString aPixelStr = aPixel.makeStringAndClear();
- for( sal_uInt16 i = 0; i < nPoints; i++ )
- {
- if( pColors )
- {
- if( pColors[i] == Color( COL_TRANSPARENT ) )
- continue;
-
- appendNonStrokingColor( pColors[i], aLine );
- aLine.append( ' ' );
- }
- m_aPages.back().appendPoint( rPoints[i], aLine );
- aLine.append( aPixelStr );
- aLine.append( " re f\n" );
- }
- aLine.append( "Q\n" );
- writeBuffer( aLine.getStr(), aLine.getLength() );
-}
-
class AccessReleaser
{
BitmapReadAccess* m_pAccess;
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index b5f1167a0fdb..8e1ba1d1d7d7 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -1231,7 +1231,6 @@ public:
void drawPolyLine( const Polygon& rPoly, const PDFWriter::ExtLineInfo& rInfo );
void drawPixel( const Point& rPt, const Color& rColor );
- void drawPixel( const Polygon& rPts, const Color* pColors = NULL );
void drawRectangle( const Rectangle& rRect );
void drawRectangle( const Rectangle& rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound );