summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-11-15 19:12:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-16 07:57:00 +0100
commit8011b16e05c97a92efee2debb23f5eae60f1236b (patch)
tree21e65803fa6f15e33e8bbbbbf701819fd0ad6171 /drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
parent5b0a6621858b141022743dd8d500558895dedb1f (diff)
Use BitmapEx in BitmapPrimitive2D
we no longer need to wrap it in the framework XBitmap implemenation Change-Id: I0dc56ad63364e2c5a4cedd5e70d4ae7ea7eae563 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
index 223390c81e3e..344e7328a84f 100644
--- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
+++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
@@ -187,7 +187,7 @@ namespace drawinglayer::primitive2d
return Primitive2DReference(
new BitmapPrimitive2D(
- VCLUnoHelper::CreateVCLXBitmap(bitmap),
+ bitmap,
getTransform()));
}
@@ -526,7 +526,7 @@ namespace drawinglayer::primitive2d
{
aRetval.resize(1);
aRetval[0] = new BitmapPrimitive2D(
- VCLUnoHelper::CreateVCLXBitmap(rGraphic.GetBitmapEx()),
+ rGraphic.GetBitmapEx(),
rTransform);
}