summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvashelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvashelper.cxx')
-rw-r--r--canvas/source/vcl/canvashelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index c3d31557c09d..501741301d8e 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -752,9 +752,9 @@ namespace vclcanvas
// transOrig*transModulate (which would be
// equivalent to the origAlpha*modulateAlpha the
// DX canvas performs)
- aGrfAttr.SetTransparency(
+ aGrfAttr.SetAlpha(
static_cast< sal_uInt8 >(
- ::basegfx::fround( 255.0*( 1.0 - nAlphaModulation ) ) ) );
+ ::basegfx::fround( 255.0 * nAlphaModulation ) ) );
}
if( ::basegfx::fTools::equalZero( nShearX ) )