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

Louis-Francis Ratté-Boulianne lfrb at collabora.com
Mon Nov 10 14:15:10 PST 2014


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

New commits:
commit 01fad59c533d797cdb8dad1a848a553c4500115a
Author: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
Date:   Mon Nov 10 14:08:25 2014 -0500

    vcl: Add rectangle outline rendering
    
    Change-Id: I9debc8ad8316e6866ea0c28bd20eb61dd9dccf03

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 11e7d55..15f62e3 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -540,8 +540,8 @@ void OpenGLSalGraphicsImpl::drawRect( long nX, long nY, long nWidth, long nHeigh
     {
         const long nX1( nX );
         const long nY1( nY );
-        const long nX2( nX + nWidth - 1 );
-        const long nY2( nY + nHeight - 1 );
+        const long nX2( nX + nWidth );
+        const long nY2( nY + nHeight );
         const SalPoint aPoints[] = { { nX1, nY1 }, { nX2, nY1 },
                                      { nX2, nY2 }, { nX1, nY2 } };
 


More information about the Libreoffice-commits mailing list