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/source/control | |
parent | 10f4ddc9a5e28b33ad2bffe6cd3e4aaab920f872 (diff) |
loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
Diffstat (limited to 'vcl/source/control')
-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 |
3 files changed, 0 insertions, 7 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(); |