summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 16:17:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 17:35:00 +0100
commita941df0f89ab8222ebd22c697e23fb539a3730ed (patch)
treee65d56ab54abbf76d7176e49bab2929d06055433 /configmgr
parent883ebe0283dc6bdf62f08191dede2a249f777f63 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ie2ae923ad4c1a66e779711de6ff05328ef144dac
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/access.hxx2
-rw-r--r--configmgr/source/components.hxx2
-rw-r--r--configmgr/source/configurationprovider.cxx2
-rw-r--r--configmgr/source/configurationregistry.cxx2
-rw-r--r--configmgr/source/localizedvaluenode.hxx2
-rw-r--r--configmgr/source/update.cxx2
-rw-r--r--configmgr/source/valueparser.hxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index ba197b7c16d4..8b864c6a27fc 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -426,7 +426,7 @@ public:
com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- Access(Components & components);
+ explicit Access(Components & components);
virtual ~Access();
diff --git a/configmgr/source/components.hxx b/configmgr/source/components.hxx
index 249507efeb95..43b1e8fc52a2 100644
--- a/configmgr/source/components.hxx
+++ b/configmgr/source/components.hxx
@@ -112,7 +112,7 @@ private:
OUString const &, int, Data &, Partial const *, Modifications *,
Additions *);
public:
- Components(
+ explicit Components(
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
const & context);
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx
index 51f1a0dbf35b..a9fcd6720db8 100644
--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -91,7 +91,7 @@ class Service:
private cppu::BaseMutex, public ServiceBase
{
public:
- Service(
+ explicit Service(
css::uno::Reference< css::uno::XComponentContext > const context):
ServiceBase(m_aMutex), context_(context), default_(true)
{
diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx
index 9a9ad9d596ba..b2e7408e39cf 100644
--- a/configmgr/source/configurationregistry.cxx
+++ b/configmgr/source/configurationregistry.cxx
@@ -73,7 +73,7 @@ class Service:
css::util::XFlushable >
{
public:
- Service(css::uno::Reference< css::uno::XComponentContext > const & context);
+ explicit Service(css::uno::Reference< css::uno::XComponentContext > const & context);
private:
Service(const Service&) SAL_DELETED_FUNCTION;
diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx
index 98b012ad501e..9d44a33cd081 100644
--- a/configmgr/source/localizedvaluenode.hxx
+++ b/configmgr/source/localizedvaluenode.hxx
@@ -32,7 +32,7 @@ namespace configmgr {
class LocalizedValueNode: public Node {
public:
- LocalizedValueNode(int layer);
+ explicit LocalizedValueNode(int layer);
LocalizedValueNode(int layer, com::sun::star::uno::Any const & value);
virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE;
diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx
index 6e5563eccb6f..13694d865522 100644
--- a/configmgr/source/update.cxx
+++ b/configmgr/source/update.cxx
@@ -60,7 +60,7 @@ class Service:
public cppu::WeakImplHelper1< css::configuration::XUpdate >
{
public:
- Service(css::uno::Reference< css::uno::XComponentContext > const context):
+ explicit Service(css::uno::Reference< css::uno::XComponentContext > const context):
context_(context)
{
assert(context.is());
diff --git a/configmgr/source/valueparser.hxx b/configmgr/source/valueparser.hxx
index 1a0751807bd8..e15b303726a5 100644
--- a/configmgr/source/valueparser.hxx
+++ b/configmgr/source/valueparser.hxx
@@ -44,7 +44,7 @@ class Node;
class ValueParser {
public:
- ValueParser(int layer);
+ explicit ValueParser(int layer);
~ValueParser();