summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 6c14c09c1a19..cb0e3124b19d 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -975,7 +975,9 @@ void VclPixelProcessor2D::processGlowPrimitive2D(const primitive2d::GlowPrimitiv
BitmapFilter::Filter(mask, BitmapFilterStackBlur(fBlurRadius));
// The end result is the bitmap filled with glow color and blurred 8-bit alpha mask
- bitmap.Erase(rCandidate.getGlowColor());
+ const basegfx::BColor aGlowColor(
+ maBColorModifierStack.getModifiedColor(rCandidate.getGlowColor().getBColor()));
+ bitmap.Erase(Color(aGlowColor));
// alpha mask will be scaled up automatically to match bitmap
BitmapEx result(bitmap, AlphaMask(mask.GetBitmap()));