diff options
Diffstat (limited to 'svgio/source/svgreader/svgimagenode.cxx')
-rw-r--r-- | svgio/source/svgreader/svgimagenode.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index 8cb6f4a05917..73b1103dd44f 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -32,6 +32,7 @@ #include <sal/log.hxx> #include <drawinglayer/geometry/viewinformation2d.hxx> #include <comphelper/base64.hxx> +#include <toolkit/helper/vclunohelper.hxx> namespace svgio::svgreader { @@ -304,7 +305,7 @@ namespace svgio::svgreader // as transformation to map the picture data correctly aNewTarget.resize(1); aNewTarget[0] = new drawinglayer::primitive2d::BitmapPrimitive2D( - aBitmapEx, + VCLUnoHelper::CreateVCLXBitmap(aBitmapEx), basegfx::utils::createScaleTranslateB2DHomMatrix( aViewBox.getRange(), aViewBox.getMinimum())); |