[Libreoffice-commits] core.git: slideshow/source

Julien Nabet serval2412 at yahoo.fr
Tue Feb 12 07:30:21 PST 2013


 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx |    2 +-
 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx     |    2 +-
 slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5a68d2cbe26d70f8d392e27f2914d9132dcd124f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Feb 12 16:20:35 2013 +0100

    Fix member variables not initialized in constructor
    
    Change-Id: I17275e7e17f76da967d2fa798f5ee88b50fd6d72
    Reviewed-on: https://gerrit.libreoffice.org/2121
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
index f2c6911..d67fdc7 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
@@ -379,7 +379,7 @@ public:
     virtual void interpolate(double t,double SlideWidthScale,double SlideHeightScale) const = 0;
 
 protected:
-    Operation(){}
+    Operation():bInterpolate(false), nT0(0.0), nT1(0.0){}
 };
 
 /** this class is a generic CounterClockWise(CCW) rotation with an axis angle
diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx
index 5f21831..983c6bd 100644
--- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx
@@ -283,7 +283,7 @@ private:
 class Operation
 {
 public:
-    Operation(){}
+    Operation():bInterpolate(false), nT0(0.0), nT1(0.0){}
     virtual ~Operation(){}
 
     /** Should this operation be interpolated . If TRUE, the transform will smoothly move from making no difference from t = 0.0 to nT0 to being completely transformed from t = nT1 to 1. If FALSE, the transform will be inneffectual from t = 0 to nT0, and completely transformed from t = nT0 to 1.
diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx
index b61e73a..e64f9965 100644
--- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx
@@ -290,7 +290,7 @@ private:
 class Operation
 {
 public:
-    Operation(){}
+    Operation():bInterpolate(false), nT0(0.0), nT1(0.0){}
     virtual ~Operation(){}
 
     /** Should this operation be interpolated . If TRUE, the transform will smoothly move from making no difference from t = 0.0 to nT0 to being completely transformed from t = nT1 to 1. If FALSE, the transform will be inneffectual from t = 0 to nT0, and completely transformed from t = nT0 to 1.


More information about the Libreoffice-commits mailing list