summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/DummyXShape.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 09:29:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 11:14:38 +0100
commit0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c (patch)
tree75cb6a18fd360d7b2e53f4048a56b2e79e8499c8 /chart2/source/view/main/DummyXShape.cxx
parentf6e5a0ac09eb1b02caf62980e4caaf3f239b9ca7 (diff)
cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
Diffstat (limited to 'chart2/source/view/main/DummyXShape.cxx')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index eec97ff3395d..80856f610291 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -81,7 +81,7 @@ class DummyPropertySetInfo : public cppu::WeakImplHelper1<
com::sun::star::beans::XPropertySetInfo >
{
public:
- DummyPropertySetInfo(const std::map<OUString, uno::Any>& rProps ):
+ explicit DummyPropertySetInfo(const std::map<OUString, uno::Any>& rProps ):
mrProperties(rProps) {}
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& rName )
@@ -764,7 +764,7 @@ namespace {
struct FontAttribSetter
{
- FontAttribSetter(vcl::Font& rFont):
+ explicit FontAttribSetter(vcl::Font& rFont):
mrFont(rFont) {}
void operator()(const std::pair<OUString, uno::Any>& rProp)