[Libreoffice-commits] core.git: vcl/headless

Andrzej Hunt andrzej.hunt at collabora.com
Thu Jul 10 02:45:05 PDT 2014


 vcl/headless/svpgdi.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 43027942770578818e81399c97be1c75ee552300
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date:   Thu Jul 10 11:37:36 2014 +0200

    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 at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 35c582d..9c1d4e5 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" );


More information about the Libreoffice-commits mailing list