summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/hdrcont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/hdrcont.cxx')
-rw-r--r--sc/source/ui/view/hdrcont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx
index a73b7d84d174..7c0eae5c4306 100644
--- a/sc/source/ui/view/hdrcont.cxx
+++ b/sc/source/ui/view/hdrcont.cxx
@@ -455,7 +455,7 @@ void ScHeaderControl::Paint( vcl::RenderContext& /*rRenderContext*/, const tools
aTransRect = tools::Rectangle( 0, nTransStart, nBarSize-1, nTransEnd );
else
aTransRect = tools::Rectangle( nTransStart, 0, nTransEnd, nBarSize-1 );
- SetBackground( Color( rStyleSettings.GetFaceColor() ) );
+ SetBackground( rStyleSettings.GetFaceColor() );
DrawSelectionBackground( aTransRect, 0, true, false );
SetBackground();
}