summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-26 11:44:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-26 14:00:59 +0200
commit2fb2d6efdb25f718ddd65709697bc68d81815a59 (patch)
treea73b80fb06b773204613b1446256355baea01b51 /slideshow
parent3b9d2501b390dfaec7d0a189742fb3305f3742d9 (diff)
loplugin:oncevar in scaddins..sot
Change-Id: I657a131374b9f1153135e00ed429889518b91427 Reviewed-on: https://gerrit.libreoffice.org/39258 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/opengl/TransitionImpl.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/slideshow/source/engine/opengl/TransitionImpl.cxx b/slideshow/source/engine/opengl/TransitionImpl.cxx
index e28b17f02d89..ad83e50b5dc6 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.cxx
@@ -73,11 +73,11 @@ OGLTransitionImpl::~OGLTransitionImpl()
void OGLTransitionImpl::uploadModelViewProjectionMatrices()
{
double EyePos(10.0);
- double RealF(1.0);
- double RealN(-1.0);
- double RealL(-1.0);
+ double const RealF(1.0);
+ double const RealN(-1.0);
+ double const RealL(-1.0);
double RealR(1.0);
- double RealB(-1.0);
+ double const RealB(-1.0);
double RealT(1.0);
double ClipN(EyePos+5.0*RealN);
double ClipF(EyePos+15.0*RealF);
@@ -1737,11 +1737,11 @@ void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32
CHECK_GL_ERROR();
double EyePos(10.0);
- double RealF(1.0);
- double RealN(-1.0);
- double RealL(-2.0);
+ double const RealF(1.0);
+ double const RealN(-1.0);
+ double const RealL(-2.0);
double RealR(2.0);
- double RealB(-2.0);
+ double const RealB(-2.0);
double RealT(2.0);
double ClipN(EyePos+5.0*RealN);
double ClipF(EyePos+15.0*RealF);
@@ -2135,11 +2135,11 @@ void HoneycombTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_In
CHECK_GL_ERROR();
double EyePos(10.0);
- double RealF(1.0);
- double RealN(-1.0);
- double RealL(-4.0);
+ double const RealF(1.0);
+ double const RealN(-1.0);
+ double const RealL(-4.0);
double RealR(4.0);
- double RealB(-4.0);
+ double const RealB(-4.0);
double RealT(4.0);
double ClipN(EyePos+5.0*RealN);
double ClipF(EyePos+15.0*RealF);