diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-07 08:58:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-07 08:16:20 +0000 |
commit | 8f6ce60fdb9a8a583f3a925ef345265cee299b89 (patch) | |
tree | b68ff4dccede3a1a61cf3b6a7f61da488d1d4225 /hwpfilter/source/formula.h | |
parent | 71bdc1d936f7930a176f760d7148a152dd9cb3e4 (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/source/formula.h')
-rw-r--r-- | hwpfilter/source/formula.h | 7 |
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; |