diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 10:53:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 13:54:54 +0100 |
commit | afe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch) | |
tree | 1e78a6dcce4c7313ab4d9109b53077e687909606 /svx/source/form/formcontroller.cxx | |
parent | 77c47fc79c1c8096c19a81a0d320e75b84857144 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'svx/source/form/formcontroller.cxx')
-rw-r--r-- | svx/source/form/formcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 861c33ff2649..9e5bef901f94 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -247,7 +247,7 @@ struct ColumnInfo class ColumnInfoCache { public: - ColumnInfoCache( const Reference< XColumnsSupplier >& _rxColSupplier ); + explicit ColumnInfoCache( const Reference< XColumnsSupplier >& _rxColSupplier ); size_t getColumnCount() const { return m_aColumns.size(); } const ColumnInfo& getColumnInfo( size_t _pos ); @@ -717,7 +717,7 @@ namespace struct RemoveComponentTextListener : public ::std::unary_function< Reference< XTextComponent >, void > { - RemoveComponentTextListener( const Reference< XTextListener >& _rxListener ) + explicit RemoveComponentTextListener( const Reference< XTextListener >& _rxListener ) :m_xListener( _rxListener ) { } |