diff options
Diffstat (limited to 'slideshow/source/engine/transitions')
6 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/transitions/combtransition.hxx b/slideshow/source/engine/transitions/combtransition.hxx index d340565e12ae..1f1509a1c936 100644 --- a/slideshow/source/engine/transitions/combtransition.hxx +++ b/slideshow/source/engine/transitions/combtransition.hxx @@ -53,7 +53,7 @@ public: private: const ::basegfx::B2DVector maPushDirectionUnit; - sal_Int32 mnNumStripes; + sal_Int32 const mnNumStripes; void renderComb( double t, const ViewEntry& rViewEntry ) const; }; diff --git a/slideshow/source/engine/transitions/ellipsewipe.hxx b/slideshow/source/engine/transitions/ellipsewipe.hxx index c8d991b509f8..ea0cf8944984 100644 --- a/slideshow/source/engine/transitions/ellipsewipe.hxx +++ b/slideshow/source/engine/transitions/ellipsewipe.hxx @@ -33,7 +33,7 @@ public: explicit EllipseWipe( sal_Int32 nSubType ): mnSubType( nSubType ) {} virtual ::basegfx::B2DPolyPolygon operator () ( double x ) override; private: - sal_Int32 mnSubType; + sal_Int32 const mnSubType; }; } diff --git a/slideshow/source/engine/transitions/pinwheelwipe.hxx b/slideshow/source/engine/transitions/pinwheelwipe.hxx index b367ad868d69..1c7ee3216e72 100644 --- a/slideshow/source/engine/transitions/pinwheelwipe.hxx +++ b/slideshow/source/engine/transitions/pinwheelwipe.hxx @@ -34,7 +34,7 @@ public: explicit PinWheelWipe( sal_Int32 blades ) : m_blades(blades) {} virtual ::basegfx::B2DPolyPolygon operator () ( double t ) override; private: - sal_Int32 m_blades; + sal_Int32 const m_blades; }; } diff --git a/slideshow/source/engine/transitions/randomwipe.hxx b/slideshow/source/engine/transitions/randomwipe.hxx index d287d8cb315f..237fa59d2882 100644 --- a/slideshow/source/engine/transitions/randomwipe.hxx +++ b/slideshow/source/engine/transitions/randomwipe.hxx @@ -40,7 +40,7 @@ public: virtual ::basegfx::B2DPolyPolygon operator () ( double t ) override; private: ::std::unique_ptr< ::basegfx::B2DPoint []> m_positions; - sal_Int32 m_nElements; + sal_Int32 const m_nElements; ::basegfx::B2DPolygon m_rect; }; diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx index b1ae953e4c01..5b6ae3f0c74e 100644 --- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx @@ -257,8 +257,8 @@ private: // bool bool mbSuccess; - sal_Int16 mnTransitionType; - sal_Int16 mnTransitionSubType; + sal_Int16 const mnTransitionType; + sal_Int16 const mnTransitionSubType; uno::Reference<presentation::XTransitionFactory> mxFactory; }; @@ -474,7 +474,7 @@ public: double t ) override; private: - RGBColor maFadeColor; + RGBColor const maFadeColor; }; void CutSlideChange::prepareForRun( diff --git a/slideshow/source/engine/transitions/waterfallwipe.hxx b/slideshow/source/engine/transitions/waterfallwipe.hxx index 6f397058cd43..6d9957beb1e3 100644 --- a/slideshow/source/engine/transitions/waterfallwipe.hxx +++ b/slideshow/source/engine/transitions/waterfallwipe.hxx @@ -34,7 +34,7 @@ public: WaterfallWipe( sal_Int32 nElements, bool flipOnYAxis ); virtual ::basegfx::B2DPolyPolygon operator () ( double t ) override; private: - bool m_flipOnYAxis; + bool const m_flipOnYAxis; ::basegfx::B2DPolygon m_waterfall; }; |