cppcheck: noExplicitConstructor

Change-Id: Iee9d28c9630a144e4da8e46e58f01a4be99aa961
This commit is contained in:
Caolán McNamara 2016-04-18 09:34:32 +01:00
parent 56c5a0ba77
commit 0154776f2d
6 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ namespace chart
class PieChartType : public ChartType
{
public:
PieChartType(
explicit PieChartType(
css::uno::Reference< css::uno::XComponentContext > const & xContext );
virtual ~PieChartType();

View File

@ -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)
{
}

View File

@ -77,7 +77,7 @@ namespace bib
virtual ~OComponentAdapterBase();
public:
OComponentAdapterBase(
explicit OComponentAdapterBase(
const css::uno::Reference< css::lang::XComponent >& _rxComp
);

View File

@ -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;

View File

@ -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;

View File

@ -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)
{}