svx/source/table/tablerow.cxx | 2 +- svx/source/table/tablerow.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 758e6f39d96237881198818e3bac432012be61d8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Apr 25 14:01:06 2016 +0200 loplugin:passstuffbyref Change-Id: Ic214bb8870a67314ec64bb4bc0aa869767cba3ae diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx index cd82cc4..5070e0c 100644 --- a/svx/source/table/tablerow.cxx +++ b/svx/source/table/tablerow.cxx @@ -149,7 +149,7 @@ void TableRow::removeColumns( sal_Int32 nIndex, sal_Int32 nCount ) } } -TableModelRef TableRow::getModel() const +TableModelRef const & TableRow::getModel() const { return mxTableModel; } diff --git a/svx/source/table/tablerow.hxx b/svx/source/table/tablerow.hxx index 6b38b80..9ecc6ef 100644 --- a/svx/source/table/tablerow.hxx +++ b/svx/source/table/tablerow.hxx @@ -48,7 +48,7 @@ public: void insertColumns( sal_Int32 nIndex, sal_Int32 nCount, CellVector::iterator* pIter = nullptr ); void removeColumns( sal_Int32 nIndex, sal_Int32 nCount ); /// Reference to the table model containing this row. - TableModelRef getModel() const; + TableModelRef const & getModel() const; // XCellRange virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits