summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/CellLineStyleValueSet.cxx')
-rw-r--r--sc/source/ui/sidebar/CellLineStyleValueSet.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
index 27c876e7e7a6..3123a60b3541 100644
--- a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
+++ b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx
@@ -92,11 +92,10 @@ void CellLineStyleValueSet::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