summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-27 10:53:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-27 13:54:54 +0100
commitafe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch)
tree1e78a6dcce4c7313ab4d9109b53077e687909606 /svx/source/engine3d
parent77c47fc79c1c8096c19a81a0d320e75b84857144 (diff)
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/helperminimaldepth3d.cxx2
-rw-r--r--svx/source/engine3d/scene3d.cxx4
-rw-r--r--svx/source/engine3d/view3d.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx
index c5781ff44ea8..626c31e82788 100644
--- a/svx/source/engine3d/helperminimaldepth3d.cxx
+++ b/svx/source/engine3d/helperminimaldepth3d.cxx
@@ -46,7 +46,7 @@ namespace drawinglayer
virtual void processBasePrimitive3D(const primitive3d::BasePrimitive3D& rCandidate) SAL_OVERRIDE;
public:
- MinimalDephInViewExtractor(const geometry::ViewInformation3D& rViewInformation)
+ explicit MinimalDephInViewExtractor(const geometry::ViewInformation3D& rViewInformation)
: BaseProcessor3D(rViewInformation),
mfMinimalDepth(DBL_MAX)
{}
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 2876b4d0b6b9..a488e5e3ac1f 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -59,7 +59,7 @@ class ImpRemap3DDepth
public:
ImpRemap3DDepth(sal_uInt32 nOrdNum, double fMinimalDepth);
- ImpRemap3DDepth(sal_uInt32 nOrdNum);
+ explicit ImpRemap3DDepth(sal_uInt32 nOrdNum);
~ImpRemap3DDepth();
// for ::std::sort
@@ -116,7 +116,7 @@ class Imp3DDepthRemapper
ImpRemap3DDepthVector maVector;
public:
- Imp3DDepthRemapper(E3dScene& rScene);
+ explicit Imp3DDepthRemapper(E3dScene& rScene);
~Imp3DDepthRemapper();
sal_uInt32 RemapOrdNum(sal_uInt32 nOrdNum) const;
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index 7f4ce943d9c1..8551300b703a 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -93,7 +93,7 @@ class Impl3DMirrorConstructOverlay
drawinglayer::primitive2d::Primitive2DSequence maFullOverlay;
public:
- Impl3DMirrorConstructOverlay(const E3dView& rView);
+ explicit Impl3DMirrorConstructOverlay(const E3dView& rView);
~Impl3DMirrorConstructOverlay();
void SetMirrorAxis(Point aMirrorAxisA, Point aMirrorAxisB);