[Libreoffice-commits] .: slideshow/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Dec 6 13:30:11 PST 2010


 slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6b8e45d665055827e19fc2a1c8e3b3d699e164c6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 6 20:19:45 2010 +0000

    cppcheck: unused variable

diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
index 50fdadf..c2698f7 100644
--- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
@@ -407,7 +407,7 @@ void OGLTransitionImpl::makeIris()
 
     Primitive irisPart, part;
     int i, nSteps = 24, nParts = 7;
-    double lt = 0, t = 1.0/nSteps, cx, cy, lcx, lcy, lx = 1, ly = 0, x, y, cxo, cyo, lcxo, lcyo, of=2.2, f=1.42;
+    double t = 1.0/nSteps, cx, cy, lcx, lcy, lx = 1, ly = 0, x, y, cxo, cyo, lcxo, lcyo, of=2.2, f=1.42;
 
     for (i=1; i<=nSteps; i++) {
         x = cos ((3*2*M_PI*t)/nParts);
@@ -428,7 +428,6 @@ void OGLTransitionImpl::makeIris()
                                basegfx::B2DVector (cxo, cyo));
         lx = x;
         ly = y;
-        lt = t;
         t += 1.0/nSteps;
     }
 


More information about the Libreoffice-commits mailing list