summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-24 10:09:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-24 10:35:44 +0000
commit70b09d932225027d531c9a95317320174f8ad687 (patch)
treeec36c7d4927721c59d22830385517770e820d98b /libreofficekit
parentcbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (diff)
cppcheck: noExplicitConstructor
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx2
-rw-r--r--libreofficekit/source/gtk/tilebuffer.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 390f01b5165c..77021bfde8a4 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -67,7 +67,7 @@ public:
int m_nPositionPixel;
TiledBarType m_eType;
- TiledRowColumnBar(TiledBarType eType);
+ explicit TiledRowColumnBar(TiledBarType eType);
static gboolean draw(GtkWidget* pWidget, cairo_t* pCairo, gpointer pData);
gboolean drawImpl(GtkWidget* pWidget, cairo_t* pCairo);
static gboolean docConfigureEvent(GtkWidget* pWidget, GdkEventConfigure* pEvent, gpointer pData);
diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx
index 3d84dfb184e7..96100d7ece3a 100644
--- a/libreofficekit/source/gtk/tilebuffer.hxx
+++ b/libreofficekit/source/gtk/tilebuffer.hxx
@@ -242,7 +242,7 @@ struct LOEvent
///@}
/// Constructor to instantiate an object of type `type`.
- LOEvent(int type)
+ explicit LOEvent(int type)
: m_nType(type)
, m_pCommand(nullptr)
, m_pArguments(nullptr)