cppcheck: noExplicitConstructor

Change-Id: I9510a16bf4ac5dd2c3da16c618841918daea8cfb
This commit is contained in:
Caolán McNamara 2016-04-04 10:40:24 +01:00
parent 9fb09a9cb3
commit 03d3506286
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -634,7 +634,7 @@ static long AccCfgTabs[] =
class SfxAccCfgLBoxString_Impl : public SvLBoxString
{
public:
SfxAccCfgLBoxString_Impl(const OUString& sText);
explicit SfxAccCfgLBoxString_Impl(const OUString& sText);
virtual ~SfxAccCfgLBoxString_Impl();