diff options
Diffstat (limited to 'vcl/source/outdev/gradient.cxx')
-rw-r--r-- | vcl/source/outdev/gradient.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx index 4fac49ed8d6c..ca02fba67e96 100644 --- a/vcl/source/outdev/gradient.cxx +++ b/vcl/source/outdev/gradient.cxx @@ -967,9 +967,9 @@ Color OutputDevice::GetSingleColorGradientFill() assert( mnDrawMode & ( DrawModeFlags::BlackGradient | DrawModeFlags::WhiteGradient | DrawModeFlags::SettingsGradient) ); if ( mnDrawMode & DrawModeFlags::BlackGradient ) - aColor = Color( COL_BLACK ); + aColor = COL_BLACK; else if ( mnDrawMode & DrawModeFlags::WhiteGradient ) - aColor = Color( COL_WHITE ); + aColor = COL_WHITE; else if ( mnDrawMode & DrawModeFlags::SettingsGradient ) aColor = GetSettings().GetStyleSettings().GetWindowColor(); |