diff options
Diffstat (limited to 'vcl/source/window/decoview.cxx')
-rw-r--r-- | vcl/source/window/decoview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx index 6741171bec6c..0d43be98f19e 100644 --- a/vcl/source/window/decoview.cxx +++ b/vcl/source/window/decoview.cxx @@ -892,7 +892,7 @@ void DecorationView::DrawFrame( const Rectangle& rRect, } void DecorationView::DrawHighlightFrame( const Rectangle& rRect, - DrawHighlightFrameStyle nStyle, bool bTestBackground ) + DrawHighlightFrameStyle nStyle ) { const StyleSettings& rStyleSettings = mpOutDev->GetSettings().GetStyleSettings(); Color aLightColor = rStyleSettings.GetLightColor(); @@ -904,7 +904,7 @@ void DecorationView::DrawHighlightFrame( const Rectangle& rRect, aLightColor = Color( COL_BLACK ); aShadowColor = Color( COL_BLACK ); } - else if ( bTestBackground ) + else { Wallpaper aBackground = mpOutDev->GetBackground(); if ( aBackground.IsBitmap() || aBackground.IsGradient() ) |