diff options
Diffstat (limited to 'drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx b/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx index 921483861b60..d8926824f65a 100644 --- a/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/wallpaperprimitive2d.cxx @@ -26,6 +26,7 @@ #include <drawinglayer/primitive2d/maskprimitive2d.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <vcl/graph.hxx> +#include <toolkit/helper/vclunohelper.hxx> namespace drawinglayer::primitive2d @@ -53,7 +54,7 @@ namespace drawinglayer::primitive2d Primitive2DReference xReference( new BitmapPrimitive2D( - getBitmapEx(), + VCLUnoHelper::CreateVCLXBitmap(getBitmapEx()), aObjectTransform)); aRetval = xReference; @@ -152,7 +153,7 @@ namespace drawinglayer::primitive2d Primitive2DReference xReference( new BitmapPrimitive2D( - getBitmapEx(), + VCLUnoHelper::CreateVCLXBitmap(getBitmapEx()), aObjectTransform)); aRetval = xReference; |