summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-07 09:33:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-07 09:56:07 +0100
commit267f401e2ad6e0094de39032671a3191772276ed (patch)
treebe549a278ad37f2e3d10f3ab1be393d14461639a /chart2
parentb0f3024304bf4e7d9efcb539a49394945f052a51 (diff)
cppcheck: noExplicitConstructor
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartAreaPanel.cxx2
-rw-r--r--chart2/source/controller/sidebar/ChartLinePanel.cxx2
-rw-r--r--chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx2
-rw-r--r--chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 294bcc5b3269..39f818518bed 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -207,7 +207,7 @@ GraphicObject getXBitmapFromName(css::uno::Reference<css::frame::XModel> xModel,
class PreventUpdate
{
public:
- PreventUpdate(bool& bUpdate):
+ explicit PreventUpdate(bool& bUpdate):
mbUpdate(bUpdate)
{
mbUpdate = false;
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index 55753bd6d027..ccde7947f281 100644
--- a/chart2/source/controller/sidebar/ChartLinePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx
@@ -93,7 +93,7 @@ css::uno::Any getLineDash(
class PreventUpdate
{
public:
- PreventUpdate(bool& bUpdate):
+ explicit PreventUpdate(bool& bUpdate):
mbUpdate(bUpdate)
{
mbUpdate = false;
diff --git a/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx b/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx
index 5db469e753f7..d1534f0014b1 100644
--- a/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx
+++ b/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx
@@ -30,7 +30,7 @@ class ChartSidebarModifyListener : public cppu::WeakImplHelper1<css::util::XModi
{
public:
- ChartSidebarModifyListener(ChartSidebarModifyListenerParent* pParent);
+ explicit ChartSidebarModifyListener(ChartSidebarModifyListenerParent* pParent);
virtual ~ChartSidebarModifyListener();
virtual void SAL_CALL modified(const css::lang::EventObject& rEvent)
diff --git a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx
index 3c31644e4872..c4c78cec6af0 100644
--- a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx
+++ b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx
@@ -35,7 +35,7 @@ class ChartSidebarSelectionListener : public cppu::WeakImplHelper1<css::view::XS
public:
// listen to all chart selection changes
- ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent* pParent);
+ explicit ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent* pParent);
// only liste to the changes of eType
ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent* pParent, ObjectType eType);
virtual ~ChartSidebarSelectionListener();