diff options
Diffstat (limited to 'cppcanvas/source/mtfrenderer/bitmapaction.cxx')
-rw-r--r-- | cppcanvas/source/mtfrenderer/bitmapaction.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.cxx b/cppcanvas/source/mtfrenderer/bitmapaction.cxx index 2777abb7e24c..db8c597afcba 100644 --- a/cppcanvas/source/mtfrenderer/bitmapaction.cxx +++ b/cppcanvas/source/mtfrenderer/bitmapaction.cxx @@ -84,8 +84,7 @@ namespace cppcanvas const CanvasSharedPtr& rCanvas, const OutDevState& rState ) : CachedPrimitiveBase( rCanvas, true ), - mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rCanvas->getUNOCanvas()->getDevice(), - rBmpEx ) ), + mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rBmpEx ) ), mpCanvas( rCanvas ), maState() { @@ -112,8 +111,7 @@ namespace cppcanvas const CanvasSharedPtr& rCanvas, const OutDevState& rState ) : CachedPrimitiveBase( rCanvas, true ), - mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rCanvas->getUNOCanvas()->getDevice(), - rBmpEx ) ), + mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rBmpEx ) ), mpCanvas( rCanvas ), maState() { |