summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-27 10:53:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-27 13:54:54 +0100
commitafe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch)
tree1e78a6dcce4c7313ab4d9109b53077e687909606 /svx/source/fmcomp
parent77c47fc79c1c8096c19a81a0d320e75b84857144 (diff)
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx2
-rw-r--r--svx/source/fmcomp/gridctrl.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index e78f3a85c910..5adf0c81f191 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -981,7 +981,7 @@ protected:
FmXGridPeer* m_pPeer;
public:
- GridListenerDelegator( FmXGridPeer* _pPeer );
+ explicit GridListenerDelegator( FmXGridPeer* _pPeer );
virtual ~GridListenerDelegator();
protected:
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 76920e17650c..04d474635cf5 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -89,7 +89,7 @@ class RowSetEventListener : public ::cppu::WeakImplHelper1<XRowsChangeListener>
{
VclPtr<DbGridControl> m_pControl;
public:
- RowSetEventListener(DbGridControl* i_pControl) : m_pControl(i_pControl)
+ explicit RowSetEventListener(DbGridControl* i_pControl) : m_pControl(i_pControl)
{
}
@@ -256,7 +256,7 @@ class FmXGridSourcePropListener : public ::comphelper::OPropertyChangeListener
sal_Int16 m_nSuspended;
public:
- FmXGridSourcePropListener(DbGridControl* _pParent);
+ explicit FmXGridSourcePropListener(DbGridControl* _pParent);
void suspend() { ++m_nSuspended; }
void resume() { --m_nSuspended; }