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

Caolán McNamara caolanm at redhat.com
Mon Jan 12 12:22:52 PST 2015


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

New commits:
commit 9de63f23c745957e2a3a187da9c30357ae01613d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 12 20:22:17 2015 +0000

    WaE: vcl/opengl/gdiimpl.cxx
    
    Change-Id: Ibd5c8574b0454f9f3688a65d246fd2dea4d0dda8

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 0695693..6da2c26 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -497,8 +497,8 @@ void OpenGLSalGraphicsImpl::ImplDrawLineAA( double nX1, double nY1, double nX2,
     // is almost unnoticeable.
     const double w = edge ? 1.4 : 1.0;
 
-    double t;
-    double R;
+    double t(0.0);
+    double R(0.0);
     double f = w - static_cast<int>(w);
     //determine parameters t,R
     if ( w>=0.0 && w<1.0 )


More information about the Libreoffice-commits mailing list