diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 10:40:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 10:41:01 +0100 |
commit | 03d3506286eca8140e17b8473b9f33fa02da4f0c (patch) | |
tree | 5bf4e7c91a20c6290b8c864af9f9fb4ae35b0fa1 /basctl/source | |
parent | 9fb09a9cb3752496c8cde0ae399f83261848c441 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I9510a16bf4ac5dd2c3da16c618841918daea8cfb
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index cd700809f804..3ca7477ff02f 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -111,8 +111,10 @@ public: class LibLBoxString : public SvLBoxString { public: - LibLBoxString( const OUString& rTxt ) : - SvLBoxString( rTxt ) {} + explicit LibLBoxString(const OUString& rTxt) + : SvLBoxString(rTxt) + { + } virtual void Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; |