diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-07 15:53:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-07 15:54:16 +0100 |
commit | aefbfc7101bb9b4ef20968d45306ab97573f6597 (patch) | |
tree | 314a80042f59b05443276d6e311d0cbc71684087 /vcl | |
parent | 3f2b771e5f53a7f079416ae6fc42625420b725d7 (diff) |
callcatcher: update and remove newly unused methods
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/pdfwriter.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/vcl/slider.hxx | 1 | ||||
-rw-r--r-- | vcl/source/control/slider.cxx | 19 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter.cxx | 5 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 42 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 1 |
6 files changed, 0 insertions, 71 deletions
diff --git a/vcl/inc/vcl/pdfwriter.hxx b/vcl/inc/vcl/pdfwriter.hxx index b14ebd57ee03..cb6d271dfe73 100644 --- a/vcl/inc/vcl/pdfwriter.hxx +++ b/vcl/inc/vcl/pdfwriter.hxx @@ -763,9 +763,6 @@ The following structure describes the permissions used in PDF security void DrawPixel( const Point& rPt, const Color& rColor ); void DrawPixel( const Point& rPt ) { DrawPixel( rPt, Color( COL_TRANSPARENT ) ); } - void DrawPixel( const Polygon& rPts, const Color* pColors = NULL ); - void DrawPixel( const Polygon& rPts, const Color& rColor ) - { Push(); SetLineColor( rColor ); DrawPixel( rPts ); Pop(); } void DrawLine( const Point& rStartPt, const Point& rEndPt ); void DrawLine( const Point& rStartPt, const Point& rEndPt, diff --git a/vcl/inc/vcl/slider.hxx b/vcl/inc/vcl/slider.hxx index c29959c6b4ad..aadc70f1398d 100644 --- a/vcl/inc/vcl/slider.hxx +++ b/vcl/inc/vcl/slider.hxx @@ -71,7 +71,6 @@ private: using Control::ImplInitSettings; using Window::ImplInit; SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle ); - SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId ); SAL_DLLPRIVATE void ImplInitSettings(); SAL_DLLPRIVATE void ImplUpdateRects( sal_Bool bUpdate = sal_True ); SAL_DLLPRIVATE long ImplCalcThumbPos( long nPixPos ); 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 ); |