diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:19:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:26:05 +0000 |
commit | 2608523b69fd6f1d888a74674a6ec795b4ad3aad (patch) | |
tree | ce6b6853e447594d03a0b458903defe0a6562771 /slideshow | |
parent | cb55ffa649e73eb12e8edf79950a2494ac5e94b1 (diff) |
loplugin: unnecessary destructor sfx2..store
Change-Id: Idbf2585e48cd89a43ab68c5c8819880d20461ccf
Reviewed-on: https://gerrit.libreoffice.org/33514
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/Operation.hxx | 6 | ||||
-rw-r--r-- | slideshow/source/inc/animation.hxx | 2 | ||||
-rw-r--r-- | slideshow/source/inc/shapeattributelayer.hxx | 1 | ||||
-rw-r--r-- | slideshow/source/inc/vieweventhandler.hxx | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/slideshow/source/engine/opengl/Operation.hxx b/slideshow/source/engine/opengl/Operation.hxx index 95aaa06df6fe..0ee818f24574 100644 --- a/slideshow/source/engine/opengl/Operation.hxx +++ b/slideshow/source/engine/opengl/Operation.hxx @@ -104,7 +104,6 @@ public: */ SRotate(const glm::vec3& Axis, const glm::vec3& Origin, double Angle, bool bInter, double T0, double T1); - virtual ~SRotate() override {} private: /** axis to rotate CCW about */ @@ -149,7 +148,6 @@ public: */ SScale(const glm::vec3& Scale, const glm::vec3& Origin,bool bInter, double T0, double T1); - virtual ~SScale() override {} private: glm::vec3 scale; glm::vec3 origin; @@ -181,7 +179,6 @@ public: */ STranslate(const glm::vec3& Vector,bool bInter, double T0, double T1); - virtual ~STranslate() override {} private: /** vector to translate by */ @@ -214,7 +211,6 @@ public: */ SEllipseTranslate(double dWidth, double dHeight, double dStartPosition, double dEndPosition, bool bInter, double T0, double T1); - virtual ~SEllipseTranslate() override {} private: /** width and length of the ellipse */ @@ -237,7 +233,6 @@ public: virtual void interpolate(glm::mat4& matrix, double t, double SlideWidthScale, double SlideHeightScale) const override; RotateAndScaleDepthByWidth(const glm::vec3& Axis,const glm::vec3& Origin,double Angle, bool bScale, bool bInter, double T0, double T1); - virtual ~RotateAndScaleDepthByWidth() override {} private: glm::vec3 axis; glm::vec3 origin; @@ -256,7 +251,6 @@ public: virtual void interpolate(glm::mat4& matrix, double t, double SlideWidthScale, double SlideHeightScale) const override; RotateAndScaleDepthByHeight(const glm::vec3& Axis,const glm::vec3& Origin,double Angle, bool bScale, bool bInter, double T0, double T1); - virtual ~RotateAndScaleDepthByHeight() override {} private: glm::vec3 axis; glm::vec3 origin; diff --git a/slideshow/source/inc/animation.hxx b/slideshow/source/inc/animation.hxx index 9a722df6d146..04f7fb7bbc4b 100644 --- a/slideshow/source/inc/animation.hxx +++ b/slideshow/source/inc/animation.hxx @@ -47,8 +47,6 @@ namespace slideshow class Animation : public virtual SharedPtrAble { public: - virtual ~Animation() override {} - /** Notify that the animation going active soon. Implementers should preload any buffers, and create diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx index e8648b58ac3e..27ed2c1ae22d 100644 --- a/slideshow/source/inc/shapeattributelayer.hxx +++ b/slideshow/source/inc/shapeattributelayer.hxx @@ -50,7 +50,6 @@ namespace slideshow class State final { public: - ~State() {} /// Abstract, numerically encoded state ID typedef ::std::size_t StateId; diff --git a/slideshow/source/inc/vieweventhandler.hxx b/slideshow/source/inc/vieweventhandler.hxx index 1291c0fd2b48..800daf9c087b 100644 --- a/slideshow/source/inc/vieweventhandler.hxx +++ b/slideshow/source/inc/vieweventhandler.hxx @@ -42,8 +42,6 @@ namespace slideshow class ViewEventHandler : public virtual SharedPtrAble { public: - virtual ~ViewEventHandler() override {} - /** Notify new view. @param rView |