diff options
Diffstat (limited to 'slideshow/source/engine/transitions/figurewipe.cxx')
-rw-r--r-- | slideshow/source/engine/transitions/figurewipe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/transitions/figurewipe.cxx b/slideshow/source/engine/transitions/figurewipe.cxx index a2f3d525c32a..1761fdc1a4e4 100644 --- a/slideshow/source/engine/transitions/figurewipe.cxx +++ b/slideshow/source/engine/transitions/figurewipe.cxx @@ -93,11 +93,11 @@ FigureWipe * FigureWipe::createHexagonWipe() FigureWipe * FigureWipe::createStarWipe( sal_Int32 nPoints ) { - const double v = (M_PI / nPoints); + const double v = M_PI / nPoints; const ::basegfx::B2DPoint p_( 0.0, -M_SQRT2 ); ::basegfx::B2DPolygon figure; for ( sal_Int32 pos = 0; pos < nPoints; ++pos ) { - const double w = (pos * 2.0 * M_PI / nPoints); + const double w = pos * 2.0 * M_PI / nPoints; ::basegfx::B2DHomMatrix aTransform; ::basegfx::B2DPoint p(p_); aTransform.rotate( -w ); |