diff options
Diffstat (limited to 'slideshow/source/engine/transitions/fourboxwipe.cxx')
-rw-r--r-- | slideshow/source/engine/transitions/fourboxwipe.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/slideshow/source/engine/transitions/fourboxwipe.cxx b/slideshow/source/engine/transitions/fourboxwipe.cxx index aaa7b2823a85..015a0507e069 100644 --- a/slideshow/source/engine/transitions/fourboxwipe.cxx +++ b/slideshow/source/engine/transitions/fourboxwipe.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,17 +44,17 @@ namespace internal { { ::basegfx::B2DHomMatrix aTransform; const double d = ::basegfx::pruneScaleValue( t / 2.0 ); - if (m_cornersOut) + if (m_cornersOut) { aTransform = basegfx::tools::createTranslateB2DHomMatrix(-0.5, -0.5); aTransform = basegfx::tools::createScaleTranslateB2DHomMatrix(d, d, -0.25, -0.25) * aTransform; - } - else + } + else { aTransform = basegfx::tools::createScaleTranslateB2DHomMatrix(d, d, -0.5, -0.5); } - + // top left: ::basegfx::B2DPolygon square( m_unitRect ); square.transform( aTransform ); @@ -76,7 +76,7 @@ namespace internal { square4.transform( aTransform ); square4.flip(); // flip direction res.append( square4 ); - + aTransform = basegfx::tools::createTranslateB2DHomMatrix(0.5, 0.5); res.transform( aTransform ); return res; |