summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-25 09:35:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-25 12:32:54 +0100
commitacad8441cc40b7b0f91681d6827f8364de05046e (patch)
tree2be1315764dc269557a60fb36a48d86b7ed23402 /vcl/source/app
parent12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff)
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/IconThemeInfo.cxx2
-rw-r--r--vcl/source/app/IconThemeScanner.cxx2
-rw-r--r--vcl/source/app/IconThemeSelector.cxx2
-rw-r--r--vcl/source/app/session.cxx2
-rw-r--r--vcl/source/app/svmain.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index 869eb85e40db..9531bf493ffe 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -132,7 +132,7 @@ namespace
private:
const OUString& m_rThemeId;
public:
- SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
+ explicit SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
bool operator()(const vcl::IconThemeInfo &rInfo)
{
return m_rThemeId == rInfo.GetThemeId();
diff --git a/vcl/source/app/IconThemeScanner.cxx b/vcl/source/app/IconThemeScanner.cxx
index 45346cb3be45..29f1a9142f4e 100644
--- a/vcl/source/app/IconThemeScanner.cxx
+++ b/vcl/source/app/IconThemeScanner.cxx
@@ -181,7 +181,7 @@ namespace
private:
const OUString& m_rThemeId;
public:
- SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
+ explicit SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
bool operator()(const vcl::IconThemeInfo &rInfo)
{
return m_rThemeId == rInfo.GetThemeId();
diff --git a/vcl/source/app/IconThemeSelector.cxx b/vcl/source/app/IconThemeSelector.cxx
index f7971dd17e1a..1a31f4158e81 100644
--- a/vcl/source/app/IconThemeSelector.cxx
+++ b/vcl/source/app/IconThemeSelector.cxx
@@ -30,7 +30,7 @@ namespace {
private:
const OUString& m_rThemeId;
public:
- SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
+ explicit SameTheme(const OUString &rThemeId) : m_rThemeId(rThemeId) {}
bool operator()(const vcl::IconThemeInfo &rInfo)
{
return m_rThemeId == rInfo.GetThemeId();
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 5db137f4d463..5686ec15f40b 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -56,7 +56,7 @@ class VCLSession:
bool m_bInteractionDone;
bool m_bSaveDone;
- Listener( const css::uno::Reference< XSessionManagerListener >& xListener )
+ explicit Listener( const css::uno::Reference< XSessionManagerListener >& xListener )
: m_xListener( xListener ),
m_bInteractionRequested( false ),
m_bInteractionDone( false ),
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index fce2961c2c53..3f9026ed976e 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -206,7 +206,7 @@ static oslSignalHandler pExceptionHandler = NULL;
class DesktopEnvironmentContext: public cppu::WeakImplHelper1< com::sun::star::uno::XCurrentContext >
{
public:
- DesktopEnvironmentContext( const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > & ctx)
+ explicit DesktopEnvironmentContext( const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > & ctx)
: m_xNextContext( ctx ) {}
// XCurrentContext