summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-12 16:20:35 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-12 15:30:01 +0000
commit5a68d2cbe26d70f8d392e27f2914d9132dcd124f (patch)
tree8d706a8cfe8b775a2fe9d4787b20a4c154190d47 /slideshow
parent646dc01ea12c0babb6a9ffee21cc5784466e4349 (diff)
Fix member variables not initialized in constructor
Change-Id: I17275e7e17f76da967d2fa798f5ee88b50fd6d72 Reviewed-on: https://gerrit.libreoffice.org/2121 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx2
-rw-r--r--slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx2
-rw-r--r--slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
index f2c691106403..d67fdc751b61 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 5f21831befc7..983c6bd7c56f 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 b61e73ae5f69..e64f9965a57e 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.