Kaydet (Commit) b0f30243 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: noExplicitCopyMoveConstructor

Change-Id: I8718ddd144bec48541e6412a8c9feb74d9391ecc
üst 7ac8939c
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
protected: protected:
explicit Node(int layer); explicit Node(int layer);
Node(const Node & other); explicit Node(const Node & other);
virtual ~Node(); virtual ~Node();
......
...@@ -91,7 +91,7 @@ public: ...@@ -91,7 +91,7 @@ public:
void Override(sal_uInt16 nBits, STATE eState); void Override(sal_uInt16 nBits, STATE eState);
protected: protected:
LwpOverride(LwpOverride const& rOther); explicit LwpOverride(LwpOverride const& rOther);
private: private:
LwpOverride& operator=(LwpOverride const& rOther) SAL_DELETED_FUNCTION; LwpOverride& operator=(LwpOverride const& rOther) SAL_DELETED_FUNCTION;
......
...@@ -202,7 +202,7 @@ protected: ...@@ -202,7 +202,7 @@ protected:
Implementation ( Implementation (
sd::Window *pWindow, sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme); 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 CalculateRowAndColumnCount (const Size& rWindowSize) = 0;
virtual void CalculateMaxRowAndColumnCount (const Size& rWindowSize) = 0; virtual void CalculateMaxRowAndColumnCount (const Size& rWindowSize) = 0;
...@@ -225,7 +225,7 @@ protected: ...@@ -225,7 +225,7 @@ protected:
class VerticalImplementation : public Layouter::Implementation class VerticalImplementation : public Layouter::Implementation
{ {
public: public:
VerticalImplementation (const Implementation& rImplementation); explicit VerticalImplementation (const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE; virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;
...@@ -247,7 +247,7 @@ protected: ...@@ -247,7 +247,7 @@ protected:
class HorizontalImplementation : public Layouter::Implementation class HorizontalImplementation : public Layouter::Implementation
{ {
public: public:
HorizontalImplementation (const Implementation& rImplementation); explicit HorizontalImplementation(const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE; virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;
...@@ -273,7 +273,7 @@ public: ...@@ -273,7 +273,7 @@ public:
GridImplementation ( GridImplementation (
sd::Window *pWindow, sd::Window *pWindow,
const ::boost::shared_ptr<view::Theme>& rpTheme); const ::boost::shared_ptr<view::Theme>& rpTheme);
GridImplementation (const Implementation& rImplementation); explicit GridImplementation(const Implementation& rImplementation);
virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE; virtual Layouter::Orientation GetOrientation() const SAL_OVERRIDE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment