summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-07 09:12:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-07 09:56:07 +0100
commitb0f3024304bf4e7d9efcb539a49394945f052a51 (patch)
tree7d8a1a656f4d710dbeac848834c400f03a55d5d2
parent7ac8939cc8e7599cca3de27c8f8dc9fd9f2e2185 (diff)
cppcheck: noExplicitCopyMoveConstructor
Change-Id: I8718ddd144bec48541e6412a8c9feb74d9391ecc
-rw-r--r--configmgr/source/node.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpoverride.hxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayouter.cxx8
3 files changed, 6 insertions, 6 deletions
diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx
index 0a90463466ef..a42b769f1b26 100644
--- a/configmgr/source/node.hxx
+++ b/configmgr/source/node.hxx
@@ -55,7 +55,7 @@ public:
protected:
explicit Node(int layer);
- Node(const Node & other);
+ explicit Node(const Node & other);
virtual ~Node();
diff --git a/lotuswordpro/source/filter/lwpoverride.hxx b/lotuswordpro/source/filter/lwpoverride.hxx
index 0b6e9c678684..ec59247b0b97 100644
--- a/lotuswordpro/source/filter/lwpoverride.hxx
+++ b/lotuswordpro/source/filter/lwpoverride.hxx
@@ -91,7 +91,7 @@ public:
void Override(sal_uInt16 nBits, STATE eState);
protected:
- LwpOverride(LwpOverride const& rOther);
+ explicit LwpOverride(LwpOverride const& rOther);
private:
LwpOverride& operator=(LwpOverride const& rOther) SAL_DELETED_FUNCTION;
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index 0f960e2e85c3..b63b307435e2 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -202,7 +202,7 @@ protected:
Implementation (
sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme);
- Implementation (const Implementation& rImplementation);
+ explicit Implementation (const Implementation& rImplementation);
virtual void CalculateRowAndColumnCount (const Size& rWindowSize) = 0;
virtual void CalculateMaxRowAndColumnCount (const Size& rWindowSize) = 0;
@@ -225,7 +225,7 @@ protected:
class VerticalImplementation : public Layouter::Implementation
{
public:
- VerticalImplementation (const Implementation& rImplementation);
+ explicit VerticalImplementation (const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;
@@ -247,7 +247,7 @@ protected:
class HorizontalImplementation : public Layouter::Implementation
{
public:
- HorizontalImplementation (const Implementation& rImplementation);
+ explicit HorizontalImplementation(const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;
@@ -273,7 +273,7 @@ public:
GridImplementation (
sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme);
- GridImplementation (const Implementation& rImplementation);
+ explicit GridImplementation(const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;