From 1e297aef53ec79e2905cb9ca57d649b82bc3938d Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Wed, 2 Nov 2011 23:36:36 +0100 Subject: Move BitmapDevice to use B2IBox instead of B2IRange. Semantically, B2IBox represents a pixel rect much better than B2IRange - replaced all occurences in and around the software renderer, and client code. --- vcl/headless/svpbmp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/headless/svpbmp.cxx') 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 -#include +#include #include #include @@ -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 -- cgit