diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 13:26:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 15:12:10 +0200 |
commit | c399630f9cd94bc570659c3bdfd6526e3532c46f (patch) | |
tree | fc398ef71306455fb062a734fee590a35f3fae9c /svtools/source/table | |
parent | 76bff82cc637c10c8dbbbb7148e07555cf8e7ff4 (diff) |
clang-tidy performance-unnecessary-value-param in svtools
Change-Id: I6360a780aac9a387fed3a1c9a086196dbba0b089
Diffstat (limited to 'svtools/source/table')
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index b46e0adb1257..9689d9ec87eb 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -163,7 +163,7 @@ namespace svt { namespace table } - void TableControl::SetModel( PTableModel _pModel ) + void TableControl::SetModel( const PTableModel& _pModel ) { m_pImpl->setModel( _pModel ); } diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index b023d909bf14..46049a417e92 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -263,7 +263,7 @@ namespace svt { namespace table DELETEZ( m_pSelEngine ); } - void TableControl_Impl::setModel( PTableModel _pModel ) + void TableControl_Impl::setModel( const PTableModel& _pModel ) { SuppressCursor aHideCursor( *this ); diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index e2153d9ab8ff..28ddc6b89800 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -134,7 +134,7 @@ namespace svt { namespace table IAccessibleTableControl* m_pAccessibleTable; public: - void setModel( PTableModel _pModel ); + void setModel( const PTableModel& _pModel ); inline const PTableInputHandler& getInputHandler() const { return m_pInputHandler; } |