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/dbgui/dbnamdlg.cxx | |
parent | 708d1c5ab242b545ced598879233fc662d7e6cc0 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
Diffstat (limited to 'sc/source/ui/dbgui/dbnamdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index 211a52216fad..d80ed97a40a7 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -505,7 +505,7 @@ class FindByName : public ::std::unary_function<std::unique_ptr<ScDBData>, bool> { const OUString& mrName; public: - FindByName(const OUString& rName) : mrName(rName) {} + explicit FindByName(const OUString& rName) : mrName(rName) {} bool operator() (std::unique_ptr<ScDBData> const& p) const { return p->GetName().equals(mrName); |