diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-18 09:34:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-18 14:03:12 +0100 |
commit | 0154776f2d0bc13e44411e67f6b02bd5032b18a0 (patch) | |
tree | 4fa0b7f10b1fbf342124478a38c000a144bc681f | |
parent | 56c5a0ba7781a325123852737970fa7f0179ff7f (diff) |
cppcheck: noExplicitConstructor
Change-Id: Iee9d28c9630a144e4da8e46e58f01a4be99aa961
-rw-r--r-- | chart2/source/model/template/PieChartType.hxx | 2 | ||||
-rw-r--r-- | cui/source/options/optfltr.hxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/loadlisteneradapter.hxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserpage.hxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserview.hxx | 2 | ||||
-rw-r--r-- | l10ntools/source/gL10nMem.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/model/template/PieChartType.hxx b/chart2/source/model/template/PieChartType.hxx index 7d200ece5226..34b3b306a8b5 100644 --- a/chart2/source/model/template/PieChartType.hxx +++ b/chart2/source/model/template/PieChartType.hxx @@ -27,7 +27,7 @@ namespace chart class PieChartType : public ChartType { public: - PieChartType( + explicit PieChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); virtual ~PieChartType(); diff --git a/cui/source/options/optfltr.hxx b/cui/source/options/optfltr.hxx index d18bd2360ce2..c2376c90c120 100644 --- a/cui/source/options/optfltr.hxx +++ b/cui/source/options/optfltr.hxx @@ -68,7 +68,7 @@ class OfaMSFilterTabPage2 : public SfxTabPage virtual void KeyInput( const KeyEvent& rKEvt ) override; public: - MSFltrSimpleTable(SvSimpleTableContainer& rParent) + explicit MSFltrSimpleTable(SvSimpleTableContainer& rParent) : SvSimpleTable(rParent, 0) { } diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx index 1ef0432cf47b..1b84c65f14f5 100644 --- a/extensions/source/bibliography/loadlisteneradapter.hxx +++ b/extensions/source/bibliography/loadlisteneradapter.hxx @@ -77,7 +77,7 @@ namespace bib virtual ~OComponentAdapterBase(); public: - OComponentAdapterBase( + explicit OComponentAdapterBase( const css::uno::Reference< css::lang::XComponent >& _rxComp ); diff --git a/extensions/source/propctrlr/browserpage.hxx b/extensions/source/propctrlr/browserpage.hxx index 01677a2d9092..86bbfb9cefff 100644 --- a/extensions/source/propctrlr/browserpage.hxx +++ b/extensions/source/propctrlr/browserpage.hxx @@ -37,7 +37,7 @@ namespace pcr virtual void StateChanged(StateChangedType nType) override; public: - OBrowserPage(vcl::Window* pParent); + explicit OBrowserPage(vcl::Window* pParent); virtual ~OBrowserPage(); virtual void dispose() override; diff --git a/extensions/source/propctrlr/browserview.hxx b/extensions/source/propctrlr/browserview.hxx index b8cd2aa10cf2..12885d427ea0 100644 --- a/extensions/source/propctrlr/browserview.hxx +++ b/extensions/source/propctrlr/browserview.hxx @@ -44,7 +44,7 @@ namespace pcr virtual bool Notify( NotifyEvent& _rNEvt ) override; public: - OPropertyBrowserView( vcl::Window* pParent); + explicit OPropertyBrowserView( vcl::Window* pParent); virtual ~OPropertyBrowserView(); virtual void dispose() override; diff --git a/l10ntools/source/gL10nMem.cxx b/l10ntools/source/gL10nMem.cxx index e9af2b0054c5..93e18520b776 100644 --- a/l10ntools/source/gL10nMem.cxx +++ b/l10ntools/source/gL10nMem.cxx @@ -34,7 +34,7 @@ l10nMem *myMem; class l10nMem_lang_list_entry { public: - l10nMem_lang_list_entry(const string& sName) + explicit l10nMem_lang_list_entry(const string& sName) : msName(sName), mbChanged(false) {} |