diff options
Diffstat (limited to 'cppcanvas/source/wrapper/vclfactory.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/vclfactory.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cppcanvas/source/wrapper/vclfactory.cxx b/cppcanvas/source/wrapper/vclfactory.cxx index 4715e790d83e..de3b1f6176c9 100644 --- a/cppcanvas/source/wrapper/vclfactory.cxx +++ b/cppcanvas/source/wrapper/vclfactory.cxx @@ -81,9 +81,7 @@ namespace cppcanvas return BitmapSharedPtr(); return BitmapSharedPtr( new internal::ImplBitmap( rCanvas, - vcl::unotools::xBitmapFromBitmapEx( - xCanvas->getDevice(), - rBmpEx) ) ); + vcl::unotools::xBitmapFromBitmapEx(rBmpEx) ) ); } RendererSharedPtr VCLFactory::createRenderer( const CanvasSharedPtr& rCanvas, |