diff options
Diffstat (limited to 'svx/source/sidebar/line/LineWidthValueSet.cxx')
-rw-r--r-- | svx/source/sidebar/line/LineWidthValueSet.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sidebar/line/LineWidthValueSet.cxx b/svx/source/sidebar/line/LineWidthValueSet.cxx index 8aaeb8005cfb..9e497c6ca1d4 100644 --- a/svx/source/sidebar/line/LineWidthValueSet.cxx +++ b/svx/source/sidebar/line/LineWidthValueSet.cxx @@ -129,11 +129,10 @@ void LineWidthValueSet::UserDraw( const UserDrawEvent& rUDEvt ) { if( nSelItem == nItemId ) { - Color aBackColor(50,107,197); tools::Rectangle aBackRect = aRect; aBackRect.AdjustTop(3 ); aBackRect.AdjustBottom( -2 ); - pDev->SetFillColor(aBackColor); + pDev->SetFillColor(Color(50,107,197)); pDev->DrawRect(aBackRect); } else |