diff options
Diffstat (limited to 'vcl/source/outdev/outdevstate.cxx')
-rw-r--r-- | vcl/source/outdev/outdevstate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx index 9760e309dad8..7d07be6fb31c 100644 --- a/vcl/source/outdev/outdevstate.cxx +++ b/vcl/source/outdev/outdevstate.cxx @@ -488,7 +488,7 @@ void OutputDevice::SetBackground( const Wallpaper& rBackground ) else { // Color background. - int transparency = rBackground.GetColor().GetTransparency(); + int transparency = 255 - rBackground.GetColor().GetAlpha(); mpAlphaVDev->SetBackground( Wallpaper( Color( transparency, transparency, transparency ))); } } |