summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwpfilter/source/formula.h7
-rw-r--r--sc/source/ui/inc/docsh.hxx2
2 files changed, 3 insertions, 6 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;
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index dcb4f9e09793..84346fb536b8 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