diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 09:52:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-02 10:16:38 +0000 |
commit | 4ea0390faa22037f1d4f703c0882a027cf2ae643 (patch) | |
tree | cbcc7db6e327ef0efa53d26241fc48f0ff2ee90f /sc/source/ui/docshell/autostyl.cxx | |
parent | 708d1c5ab242b545ced598879233fc662d7e6cc0 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
Diffstat (limited to 'sc/source/ui/docshell/autostyl.cxx')
-rw-r--r-- | sc/source/ui/docshell/autostyl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx index ed81680c54f2..549a3ec6e5eb 100644 --- a/sc/source/ui/docshell/autostyl.cxx +++ b/sc/source/ui/docshell/autostyl.cxx @@ -56,7 +56,7 @@ class FindByRange : public ::std::unary_function<ScAutoStyleData, bool> { ScRange maRange; public: - FindByRange(const ScRange& r) : maRange(r) {} + explicit FindByRange(const ScRange& r) : maRange(r) {} bool operator() (const ScAutoStyleData& rData) const { return rData.aRange == maRange; } }; @@ -64,7 +64,7 @@ class FindByTimeout : public ::std::unary_function<ScAutoStyleData, bool> { sal_uLong mnTimeout; public: - FindByTimeout(sal_uLong n) : mnTimeout(n) {} + explicit FindByTimeout(sal_uLong n) : mnTimeout(n) {} bool operator() (const ScAutoStyleData& rData) const { return rData.nTimeout >= mnTimeout; } }; |