vcl/opengl/gdiimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d1bf54a0fe29d50972fc949ff01284a4414b5210 Author: Louis-Francis Ratté-Boulianne <[email protected]> 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 e8ecf44..900d361 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -586,8 +586,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 } };
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
