summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/button.cxx3
-rw-r--r--vcl/source/control/fixed.cxx2
-rw-r--r--vcl/source/control/scrbar.cxx2
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();