summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basctl/source/basicide/moduldl2.cxx6
-rw-r--r--cui/source/customize/acccfg.cxx2
2 files changed, 5 insertions, 3 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;
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index c32a4d3873e8..a885da1704ff 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -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();