diff options
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 12 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.hxx | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index cafab24a10b2..e32a6f9abe82 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -45,12 +45,12 @@ namespace { class FormulaCompilerRecursionGuard { -private: - short& rRecursion; -public: - FormulaCompilerRecursionGuard( short& rRec ) - : rRecursion( rRec ) { ++rRecursion; } - ~FormulaCompilerRecursionGuard() { --rRecursion; } + private: + short& rRecursion; + public: + explicit FormulaCompilerRecursionGuard( short& rRec ) + : rRecursion( rRec ) { ++rRecursion; } + ~FormulaCompilerRecursionGuard() { --rRecursion; } }; short lcl_GetRetFormat( OpCode eOpCode ) diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index cb8642cbe78e..c2a66906179e 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -88,7 +88,7 @@ protected: public: - StructPage( vcl::Window* pParent); + explicit StructPage(vcl::Window* pParent); virtual ~StructPage(); virtual void dispose() override; |