diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 09:35:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 12:32:54 +0100 |
commit | acad8441cc40b7b0f91681d6827f8364de05046e (patch) | |
tree | 2be1315764dc269557a60fb36a48d86b7ed23402 /vcl/unx/generic/app | |
parent | 12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff) |
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'vcl/unx/generic/app')
-rw-r--r-- | vcl/unx/generic/app/i18n_status.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/app/randrwrapper.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/app/wmadaptor.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx index f7070e55445b..36f0ebcf6254 100644 --- a/vcl/unx/generic/app/i18n_status.cxx +++ b/vcl/unx/generic/app/i18n_status.cxx @@ -50,7 +50,7 @@ namespace vcl { class StatusWindow : public WorkWindow { protected: - StatusWindow( WinBits nWinBits ); + explicit StatusWindow( WinBits nWinBits ); public: virtual void setPosition( SalFrame* ); @@ -94,7 +94,7 @@ class XIMStatusWindow : public StatusWindow DECL_LINK( DelayedShowHdl, void* ); public: - XIMStatusWindow( bool bOn ); + explicit XIMStatusWindow( bool bOn ); virtual ~XIMStatusWindow(); virtual void setPosition( SalFrame* ) SAL_OVERRIDE; diff --git a/vcl/unx/generic/app/randrwrapper.cxx b/vcl/unx/generic/app/randrwrapper.cxx index ecdfce34e736..321e29f92d49 100644 --- a/vcl/unx/generic/app/randrwrapper.cxx +++ b/vcl/unx/generic/app/randrwrapper.cxx @@ -49,7 +49,7 @@ class RandRWrapper void initFromModule(); - RandRWrapper(Display*); + explicit RandRWrapper(Display*); ~RandRWrapper(); public: static RandRWrapper& get(Display*); @@ -176,7 +176,7 @@ class RandRWrapper { bool m_bValid; - RandRWrapper(Display*); + explicit RandRWrapper(Display*); public: static RandRWrapper& get(Display*); static void releaseWrapper(); diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index e3239fde49df..31d7969107be 100644 --- a/vcl/unx/generic/app/wmadaptor.cxx +++ b/vcl/unx/generic/app/wmadaptor.cxx @@ -50,7 +50,7 @@ class NetWMAdaptor : public WMAdaptor void initAtoms(); virtual bool isValid() const SAL_OVERRIDE; public: - NetWMAdaptor( SalDisplay* ); + explicit NetWMAdaptor( SalDisplay* ); virtual ~NetWMAdaptor(); virtual void setWMName( X11SalFrame* pFrame, const OUString& rWMName ) const SAL_OVERRIDE; @@ -78,7 +78,7 @@ class GnomeWMAdaptor : public WMAdaptor void initAtoms(); virtual bool isValid() const SAL_OVERRIDE; public: - GnomeWMAdaptor( SalDisplay * ); + explicit GnomeWMAdaptor( SalDisplay * ); virtual ~GnomeWMAdaptor(); virtual void maximizeFrame( X11SalFrame* pFrame, bool bHorizontal = true, bool bVertical = true ) const SAL_OVERRIDE; |