summaryrefslogtreecommitdiff
path: root/svgio
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 /svgio
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 'svgio')
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx
index d439c45ede9b..ed7b81cef61a 100644
--- a/svgio/source/svgreader/svgimagenode.cxx
+++ b/svgio/source/svgreader/svgimagenode.cxx
@@ -301,7 +301,7 @@ namespace svgio::svgreader
// as transformation to map the picture data correctly
aNewTarget.resize(1);
aNewTarget[0] = new drawinglayer::primitive2d::BitmapPrimitive2D(
- VCLUnoHelper::CreateVCLXBitmap(aBitmapEx),
+ aBitmapEx,
basegfx::utils::createScaleTranslateB2DHomMatrix(
aViewBox.getRange(),
aViewBox.getMinimum()));