summaryrefslogtreecommitdiff
path: root/libreofficekit/source
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/source
parentcbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (diff)
cppcheck: noExplicitConstructor
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/tilebuffer.hxx2
1 files changed, 1 insertions, 1 deletions
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)