summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/transitions/checkerboardwipe.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-06 16:49:55 +0200
committerNoel Grandin <noel@peralex.com>2015-08-07 07:20:24 +0200
commit6343754e310a589cb49e2a1da0cd68472571179d (patch)
treea0915b9679f3422a6abda3fb2d6917df4edb30f5 /slideshow/source/engine/transitions/checkerboardwipe.hxx
parentdea885f80a80c6a5839ee5dbf8521487186a9522 (diff)
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'slideshow/source/engine/transitions/checkerboardwipe.hxx')
-rw-r--r--slideshow/source/engine/transitions/checkerboardwipe.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/transitions/checkerboardwipe.hxx b/slideshow/source/engine/transitions/checkerboardwipe.hxx
index 384b11e37947..14057568c2f3 100644
--- a/slideshow/source/engine/transitions/checkerboardwipe.hxx
+++ b/slideshow/source/engine/transitions/checkerboardwipe.hxx
@@ -33,7 +33,7 @@ namespace internal {
class CheckerBoardWipe : public ParametricPolyPolygon
{
public:
- CheckerBoardWipe( sal_Int32 unitsPerEdge = 10 )
+ explicit CheckerBoardWipe( sal_Int32 unitsPerEdge = 10 )
: m_unitsPerEdge(unitsPerEdge),
m_unitRect( createUnitRect() )
{ OSL_ASSERT( (unitsPerEdge % 2) == 0 ); }