summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-06-07 08:58:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-06-07 08:16:20 +0000
commit8f6ce60fdb9a8a583f3a925ef345265cee299b89 (patch)
treeb68ff4dccede3a1a61cf3b6a7f61da488d1d4225 /hwpfilter
parent71bdc1d936f7930a176f760d7148a152dd9cb3e4 (diff)
cppcheck: noExplicitConstructor
Change-Id: I2bd2fd9c5768128130659213305b7da04686125a Reviewed-on: https://gerrit.libreoffice.org/26000 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/formula.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/hwpfilter/source/formula.h b/hwpfilter/source/formula.h
index b87f362d3ae8..7d371ecf3914 100644
--- a/hwpfilter/source/formula.h
+++ b/hwpfilter/source/formula.h
@@ -29,16 +29,13 @@
class Node;
-// DVO: remove DEBUG dependency
-// #ifndef DEBUG
using namespace ::com::sun::star::xml::sax;
-// #endif
class Formula
{
public:
- Formula(char *_eq)
- : pList(NULL)
+ explicit Formula(char *_eq)
+ : pList(nullptr)
{
eq = _eq;
isHwpEQ = 1;