summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/ThemePanel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-26 13:56:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-26 14:11:12 +0100
commitd2275c825d2300f3f176105058ac70b762bcc115 (patch)
treef8d373a15f7ec3d2e37fb33999d059b5592e3b76 /sw/source/uibase/sidebar/ThemePanel.cxx
parent8790303b4c220d0c5dcf78a4c438a385ffe3f030 (diff)
cppcheck: noExplicitConstructor
Change-Id: I955b04396d27e88ce228f180275955071da83ec6
Diffstat (limited to 'sw/source/uibase/sidebar/ThemePanel.cxx')
-rw-r--r--sw/source/uibase/sidebar/ThemePanel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx
index 9bedd354bf49..bb375020a3eb 100644
--- a/sw/source/uibase/sidebar/ThemePanel.cxx
+++ b/sw/source/uibase/sidebar/ThemePanel.cxx
@@ -90,7 +90,7 @@ public:
OUString maElementName;
public:
- StyleRedefinition(const OUString& aElementName)
+ explicit StyleRedefinition(const OUString& aElementName)
: maElementName(aElementName)
{}
@@ -134,7 +134,7 @@ class StyleSet
std::vector<StyleRedefinition> maStyles;
public:
- StyleSet(const OUString& aName)
+ explicit StyleSet(const OUString& aName)
: maName(aName)
, maStyles()
{}