diff options
author | David Tardon <dtardon@redhat.com> | 2012-07-03 08:53:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-07-03 17:47:18 +0200 |
commit | 9bd1acd164a9f8f4188ca06527ccc0fece7d0c19 (patch) | |
tree | ea82824dfc4c591d502ae28d5d1efed206f2090e /basegfx/source/polygon | |
parent | fddd006495f0c8584c85ff22ad0041094ea9a8cd (diff) |
sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r-- | basegfx/source/polygon/b2dpolygontriangulator.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygon.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 | ||||
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygon.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/basegfx/source/polygon/b2dpolygontriangulator.cxx b/basegfx/source/polygon/b2dpolygontriangulator.cxx index 121211d2501b..d2e6ef0e786b 100644 --- a/basegfx/source/polygon/b2dpolygontriangulator.cxx +++ b/basegfx/source/polygon/b2dpolygontriangulator.cxx @@ -138,7 +138,7 @@ namespace basegfx void createTriangle(const B2DPoint& rA, const B2DPoint& rB, const B2DPoint& rC); public: - Triangulator(const B2DPolyPolygon& rCandidate); + explicit Triangulator(const B2DPolyPolygon& rCandidate); ~Triangulator(); const B2DPolygon getResult() const { return maResult; } diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx index 3ec0ed824347..02dce17b5adf 100644 --- a/basegfx/source/polygon/b2dpolypolygon.cxx +++ b/basegfx/source/polygon/b2dpolypolygon.cxx @@ -50,7 +50,7 @@ public: { } - ImplB2DPolyPolygon(const basegfx::B2DPolygon& rToBeCopied) : + explicit ImplB2DPolyPolygon(const basegfx::B2DPolygon& rToBeCopied) : maPolygons(1,rToBeCopied) { } diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index 522bc3701556..05e555f213ba 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -466,7 +466,7 @@ namespace basegfx } public: - solver(const B2DPolygon& rOriginal) + explicit solver(const B2DPolygon& rOriginal) : maOriginal(B2DPolyPolygon(rOriginal)), mbIsCurve(false), mbChanged(false) @@ -501,7 +501,7 @@ namespace basegfx } } - solver(const B2DPolyPolygon& rOriginal) + explicit solver(const B2DPolyPolygon& rOriginal) : maOriginal(rOriginal), mbIsCurve(false), mbChanged(false) diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx index fc2a43ba81da..4185f19673f8 100644 --- a/basegfx/source/polygon/b2dtrapezoid.cxx +++ b/basegfx/source/polygon/b2dtrapezoid.cxx @@ -449,7 +449,7 @@ namespace basegfx } public: - TrapezoidSubdivider( + explicit TrapezoidSubdivider( const B2DPolyPolygon& rSourcePolyPolygon) : mnInitialEdgeEntryCount(0), maTrDeEdgeEntries(), diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx index f4bcf80fc24c..b19a691236a0 100644 --- a/basegfx/source/polygon/b3dpolypolygon.cxx +++ b/basegfx/source/polygon/b3dpolypolygon.cxx @@ -49,7 +49,7 @@ public: { } - ImplB3DPolyPolygon(const ::basegfx::B3DPolygon& rToBeCopied) : + explicit ImplB3DPolyPolygon(const ::basegfx::B3DPolygon& rToBeCopied) : maPolygons(1,rToBeCopied) { } |