summaryrefslogtreecommitdiff
path: root/forms/source/component/ListBox.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-07 14:36:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-07 15:11:03 +0100
commit7ba7a974f6d9f4b265e72b8e91c5a175bc3a3b14 (patch)
tree6db04a6adf3f9607683e160cf698bf24a2838db5 /forms/source/component/ListBox.cxx
parent74010f1c502a4bd7eb1ef3ee3d0e8c45a1c9afee (diff)
cppcheck: noExplicitConstructor
Change-Id: I32c6728ce7423fd997cdbec66feb8a6ba39948d2
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-rw-r--r--forms/source/component/ListBox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 5cf73b084518..24e456ffa61e 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -96,7 +96,7 @@ namespace frm
struct AppendRowSetValueString : public ::std::unary_function< OUString, void >
{
- AppendRowSetValueString( OUString& _string )
+ explicit AppendRowSetValueString( OUString& _string )
:m_string( _string )
{
}
@@ -1434,7 +1434,7 @@ namespace frm
const Sequence< OUString >& m_rList;
public:
- ExtractStringFromSequence_Safe( const Sequence< OUString >& _rList ) : m_rList( _rList ) { }
+ explicit ExtractStringFromSequence_Safe( const Sequence< OUString >& _rList ) : m_rList( _rList ) { }
OUString operator ()( sal_Int16 _nIndex )
{
@@ -1485,7 +1485,7 @@ namespace frm
const ValueList& m_rList;
public:
- ExtractAnyFromValueList_Safe( const ValueList& _rList ) : m_rList( _rList ) { }
+ explicit ExtractAnyFromValueList_Safe( const ValueList& _rList ) : m_rList( _rList ) { }
Any operator ()( sal_Int16 _nIndex )
{