diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 11:16:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 11:16:06 +0100 |
commit | 6b2d75f966140746e4fed4c0dd43a452e0cfdbae (patch) | |
tree | 0a962ec811c886a79e6542af813e074810274038 /sc | |
parent | 03d3506286eca8140e17b8473b9f33fa02da4f0c (diff) |
cppcheck: noExplicitConstructor
Change-Id: I68310e2abc8f0ca114adb2b52f82157a0f455202
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; } |