diff options
Diffstat (limited to 'vcl/headless/svpbmp.cxx')
-rw-r--r-- | vcl/headless/svpbmp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index f385682afada..d27b7654c56f 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -29,7 +29,7 @@ #include "headless/svpbmp.hxx" #include <basegfx/vector/b2ivector.hxx> -#include <basegfx/range/b2irange.hxx> +#include <basegfx/range/b2ibox.hxx> #include <basebmp/scanlineformats.hxx> #include <basebmp/color.hxx> @@ -96,7 +96,7 @@ bool SvpSalBitmap::Create( const SalBitmap& rSalBmp ) { B2IVector aSize = rSrcBmp->getSize(); m_aBitmap = cloneBitmapDevice( aSize, rSrcBmp ); - B2IRange aRect( 0, 0, aSize.getX(), aSize.getY() ); + B2IBox aRect( 0, 0, aSize.getX(), aSize.getY() ); m_aBitmap->drawBitmap( rSrcBmp, aRect, aRect, DrawMode_PAINT ); } else |