hwpfilter/source/formula.h | 7 ++----- sc/source/ui/inc/docsh.hxx | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-)
New commits: commit 8f6ce60fdb9a8a583f3a925ef345265cee299b89 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Jun 7 08:58:31 2016 +0100 cppcheck: noExplicitConstructor Change-Id: I2bd2fd9c5768128130659213305b7da04686125a Reviewed-on: https://gerrit.libreoffice.org/26000 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits