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

cppcheck: noExplicitConstructor

Change-Id: Iee9d28c9630a144e4da8e46e58f01a4be99aa961
üst 56c5a0ba
...@@ -27,7 +27,7 @@ namespace chart ...@@ -27,7 +27,7 @@ namespace chart
class PieChartType : public ChartType class PieChartType : public ChartType
{ {
public: public:
PieChartType( explicit PieChartType(
css::uno::Reference< css::uno::XComponentContext > const & xContext ); css::uno::Reference< css::uno::XComponentContext > const & xContext );
virtual ~PieChartType(); virtual ~PieChartType();
......
...@@ -68,7 +68,7 @@ class OfaMSFilterTabPage2 : public SfxTabPage ...@@ -68,7 +68,7 @@ class OfaMSFilterTabPage2 : public SfxTabPage
virtual void KeyInput( const KeyEvent& rKEvt ) override; virtual void KeyInput( const KeyEvent& rKEvt ) override;
public: public:
MSFltrSimpleTable(SvSimpleTableContainer& rParent) explicit MSFltrSimpleTable(SvSimpleTableContainer& rParent)
: SvSimpleTable(rParent, 0) : SvSimpleTable(rParent, 0)
{ {
} }
......
...@@ -77,7 +77,7 @@ namespace bib ...@@ -77,7 +77,7 @@ namespace bib
virtual ~OComponentAdapterBase(); virtual ~OComponentAdapterBase();
public: public:
OComponentAdapterBase( explicit OComponentAdapterBase(
const css::uno::Reference< css::lang::XComponent >& _rxComp const css::uno::Reference< css::lang::XComponent >& _rxComp
); );
......
...@@ -37,7 +37,7 @@ namespace pcr ...@@ -37,7 +37,7 @@ namespace pcr
virtual void StateChanged(StateChangedType nType) override; virtual void StateChanged(StateChangedType nType) override;
public: public:
OBrowserPage(vcl::Window* pParent); explicit OBrowserPage(vcl::Window* pParent);
virtual ~OBrowserPage(); virtual ~OBrowserPage();
virtual void dispose() override; virtual void dispose() override;
......
...@@ -44,7 +44,7 @@ namespace pcr ...@@ -44,7 +44,7 @@ namespace pcr
virtual bool Notify( NotifyEvent& _rNEvt ) override; virtual bool Notify( NotifyEvent& _rNEvt ) override;
public: public:
OPropertyBrowserView( vcl::Window* pParent); explicit OPropertyBrowserView( vcl::Window* pParent);
virtual ~OPropertyBrowserView(); virtual ~OPropertyBrowserView();
virtual void dispose() override; virtual void dispose() override;
......
...@@ -34,7 +34,7 @@ l10nMem *myMem; ...@@ -34,7 +34,7 @@ l10nMem *myMem;
class l10nMem_lang_list_entry class l10nMem_lang_list_entry
{ {
public: public:
l10nMem_lang_list_entry(const string& sName) explicit l10nMem_lang_list_entry(const string& sName)
: msName(sName), : msName(sName),
mbChanged(false) mbChanged(false)
{} {}
......
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