diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 12:32:14 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 17:44:31 +0100 |
commit | d5caf6898b384de8465179341e8f0ccf66b06b2b (patch) | |
tree | 979dc56521b1baad8d6db4ef336d3c19b8b419d2 /vcl | |
parent | 10f4ddc9a5e28b33ad2bffe6cd3e4aaab920f872 (diff) |
loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/button.cxx | 3 | ||||
-rw-r--r-- | vcl/source/control/fixed.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/scrbar.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/sgfbram.cxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/outdev6.cxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 1 |
6 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 5fbe862df357..4ce2748998cd 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -942,7 +942,6 @@ void PushButton::ImplDrawPushButton( bool bLayout ) Size aOutSz( GetOutputSizePixel() ); Rectangle aRect( aPoint, aOutSz ); Rectangle aInRect = aRect; - Rectangle aTextRect; sal_Bool bNativeOK = sal_False; // adjust style if button should be rendered 'pressed' @@ -2137,7 +2136,6 @@ void RadioButton::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, { WinBits nWinStyle = GetStyle(); OUString aText( GetText() ); - Rectangle aRect( rPos, rSize ); MetricVector* pVector = bLayout ? &mpControlData->mpLayoutData->m_aUnicodeBoundRects : NULL; OUString* pDisplayText = bLayout ? &mpControlData->mpLayoutData->m_aDisplayText : NULL; @@ -2611,7 +2609,6 @@ void RadioButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize Font aFont = GetDrawPixelFont( pDev ); Rectangle aStateRect; Rectangle aMouseRect; - Rectangle aFocusRect; aImageSize.Width() = CalcZoom( aImageSize.Width() ); aImageSize.Height() = CalcZoom( aImageSize.Height() ); diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 3c5346d984a3..efa5985f20c4 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -874,7 +874,6 @@ void FixedBitmap::ImplDraw( OutputDevice* pDev, sal_uLong /* nDrawFlags */, { sal_uInt16 nStyle = 0; Bitmap* pBitmap = &maBitmap; - Color aCol; if( nStyle & IMAGE_DRAW_COLORTRANSFORM ) { @@ -1095,7 +1094,6 @@ void FixedImage::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, } Image *pImage = &maImage; - Color aCol; // Haben wir ueberhaupt ein Image if ( !(!(*pImage)) ) diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index b2ffb7f2c29f..6b7d3ca895ae 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -468,8 +468,6 @@ void ScrollBar::ImplCalc( sal_Bool bUpdate ) void ScrollBar::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ) { Point aPos = pDev->LogicToPixel( rPos ); - Size aSize = pDev->LogicToPixel( rSize ); - Rectangle aRect( aPos, aSize ); pDev->Push(); pDev->SetMapMode(); diff --git a/vcl/source/filter/sgfbram.cxx b/vcl/source/filter/sgfbram.cxx index f698329a0c6d..8aad336e4654 100644 --- a/vcl/source/filter/sgfbram.cxx +++ b/vcl/source/filter/sgfbram.cxx @@ -404,7 +404,6 @@ sal_Bool SgfFilterVect(SvStream& rInp, SgfHeader& rHead, SgfEntry&, GDIMetaFile& sal_Bool bPDwn=sal_False; Point aP0(0,0); Point aP1(0,0); - String Msg; sal_uInt16 RecNr=0; rMtf.Record(&aOutDev); diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx index 4341a1ed2a80..782eb93d0c84 100644 --- a/vcl/source/gdi/outdev6.cxx +++ b/vcl/source/gdi/outdev6.cxx @@ -206,7 +206,6 @@ void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly, } // fallback to old polygon drawing if needed - const PolyPolygon aToolsPolyPolygon( rB2DPolyPoly ); DrawTransparent(PolyPolygon(rB2DPolyPoly), static_cast< sal_uInt16 >(fTransparency * 100.0)); } diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 40ac1ac575a8..ac35c4f7c05c 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -508,7 +508,6 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa if( ! i_rContext.m_bTransparenciesWereRemoved ) { const MetaCommentAction* pA = (const MetaCommentAction*) pAction; - String aSkipComment; if( pA->GetComment().equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN")) { |