summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-10 11:37:36 +0200
committerTomaž Vajngerl <quikee@gmail.com>2014-07-10 09:44:40 +0000
commit43027942770578818e81399c97be1c75ee552300 (patch)
tree6080ae36b7b90e1d212a0cbf4e1677f940160003 /vcl/headless
parente5e7e706f8b71e0a60f376b88df78b8d440c6d93 (diff)
svp clipping again: Rectangle dimensions don't map directly to B2IBox.
This is the same as in 80f3211a7aeff221718703c445be4c753e0a1067. Change-Id: Ibb981da064b4fc97fd865be2decabd8798de7380 Reviewed-on: https://gerrit.libreoffice.org/10186 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 35c582d8f873..9c1d4e5edc4d 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -259,8 +259,8 @@ bool SvpSalGraphics::isClippedSetup( const basegfx::B2IBox &aRange, SvpSalGraphi
m_aDevice = basebmp::subsetBitmapDevice( m_aOrigDevice,
basegfx::B2IBox (aHitRect.Left(),
aHitRect.Top(),
- aHitRect.Right(),
- aHitRect.Bottom()) );
+ aHitRect.Right() + 1,
+ aHitRect.Bottom() + 1) );
return false;
}
// fprintf (stderr, "URK: complex & slow clipping case\n" );