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>
diff --git a/hwpfilter/source/formula.h b/hwpfilter/source/formula.h
index b87f362..7d371ec 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;
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index dcb4f9e..84346fb 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -169,7 +169,7 @@ private:
public:
explicit ScDocShell( const ScDocShell& rDocShell );
ScDocShell( const SfxModelFlags i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT );
explicit ScDocShell( const SfxModelFlags i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT );
virtual ~ScDocShell();
#if ENABLE_TELEPATHY