diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/miscdlgs/solveroptions.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx index b222be3ff0b8..9f9481dc5ab5 100644 --- a/sc/source/ui/miscdlgs/solveroptions.cxx +++ b/sc/source/ui/miscdlgs/solveroptions.cxx @@ -60,11 +60,13 @@ class ScSolverOptionsString : public SvLBoxString sal_Int32 mnIntValue; public: - ScSolverOptionsString( const OUString& rStr ) : - SvLBoxString( rStr ), - mbIsDouble( false ), - mfDoubleValue( 0.0 ), - mnIntValue( 0 ) {} + explicit ScSolverOptionsString(const OUString& rStr) + : SvLBoxString(rStr) + , mbIsDouble(false) + , mfDoubleValue(0.0) + , mnIntValue(0) + { + } bool IsDouble() const { return mbIsDouble; } double GetDoubleValue() const { return mfDoubleValue; } |