update dev300-m57
[ooovba.git] / applied_patches / 0067-check-buttons-rendering-fix.diff
blob76fca83081530d63b11e4c51031de0a0318516f1
1 --- vcl/source/control/button.cxx 2005-07-06 14:49:53.000000000 +0530
2 +++ vcl/source/control/button.cxx 2005-09-02 19:03:25.000000000 +0530
3 @@ -446,13 +446,15 @@ void Button::ImplDrawAlignedImage( Outpu
5 else if ( bDrawText && !bDrawImage && !bHasSymbol )
7 + Rectangle aDrawRect = aOutRect;
9 aOutRect = pDev->GetTextRect( aOutRect, aText, nTextStyle );
10 rSize = aOutRect.GetSize();
11 rPos = aOutRect.TopLeft();
13 ImplSetFocusRect( aOutRect );
15 - pDev->DrawText( aOutRect, aText, nTextStyle, pVector, pDisplayText );
16 + pDev->DrawText( aDrawRect, aText, nTextStyle, pVector, pDisplayText );
17 return;