summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-04 11:16:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-04 11:16:06 +0100
commit6b2d75f966140746e4fed4c0dd43a452e0cfdbae (patch)
tree0a962ec811c886a79e6542af813e074810274038 /svx
parent03d3506286eca8140e17b8473b9f33fa02da4f0c (diff)
cppcheck: noExplicitConstructor
Change-Id: I68310e2abc8f0ca114adb2b52f82157a0f455202
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/filtnav.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index f24ca92c7616..da326d724022 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -984,8 +984,10 @@ void FmFilterModel::EnsureEmptyFilterRows( FmParentData& _rItem )
class FmFilterItemsString : public SvLBoxString
{
public:
- FmFilterItemsString( const OUString& rStr )
- :SvLBoxString(rStr) {}
+ explicit FmFilterItemsString(const OUString& rStr)
+ : SvLBoxString(rStr)
+ {
+ }
virtual void Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext,
const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override;