summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/glowprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/glowprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/glowprimitive2d.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/drawinglayer/source/primitive2d/glowprimitive2d.cxx b/drawinglayer/source/primitive2d/glowprimitive2d.cxx
index 956a6f94eb82..47103ac9a011 100644
--- a/drawinglayer/source/primitive2d/glowprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/glowprimitive2d.cxx
@@ -225,11 +225,10 @@ void GlowPrimitive2D::create2DDecomposition(
// Independent from discrete sizes of glow alpha creation, always
// map and project glow result to geometry range extended by glow
// radius, but to the eventually clipped instance (ClippedRange)
- const primitive2d::Primitive2DReference xEmbedRefBitmap(
- new BitmapPrimitive2D(VCLUnoHelper::CreateVCLXBitmap(result),
- basegfx::utils::createScaleTranslateB2DHomMatrix(
- aClippedRange.getWidth(), aClippedRange.getHeight(),
- aClippedRange.getMinX(), aClippedRange.getMinY())));
+ const primitive2d::Primitive2DReference xEmbedRefBitmap(new BitmapPrimitive2D(
+ result, basegfx::utils::createScaleTranslateB2DHomMatrix(
+ aClippedRange.getWidth(), aClippedRange.getHeight(),
+ aClippedRange.getMinX(), aClippedRange.getMinY())));
rContainer = primitive2d::Primitive2DContainer{ xEmbedRefBitmap };
}