svx/source/table/tablecolumn.cxx | 2 +- svx/source/table/tablecolumn.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 46c7ecf760bbea6541507c319e8e722f9b4ec712 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jun 8 16:53:37 2016 +0200 loplugin:passstuffbyref Change-Id: I637e1c9d5af1f9d8ad5141c8d07ea72232656070 diff --git a/svx/source/table/tablecolumn.cxx b/svx/source/table/tablecolumn.cxx index c5ceade..44536f5 100644 --- a/svx/source/table/tablecolumn.cxx +++ b/svx/source/table/tablecolumn.cxx @@ -283,7 +283,7 @@ rtl::Reference< FastPropertySetInfo > TableColumn::getStaticPropertySetInfo() return xInfo; } -TableModelRef TableColumn::getModel() const +TableModelRef const & TableColumn::getModel() const { return mxTableModel; } diff --git a/svx/source/table/tablecolumn.hxx b/svx/source/table/tablecolumn.hxx index 0c5083d..320b384 100644 --- a/svx/source/table/tablecolumn.hxx +++ b/svx/source/table/tablecolumn.hxx @@ -59,7 +59,7 @@ public: virtual css::uno::Any SAL_CALL getFastPropertyValue( ::sal_Int32 nHandle ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; /// Get the table that owns this column. - TableModelRef getModel() const; + TableModelRef const & getModel() const; /// Get the width of this column. sal_Int32 getWidth() const; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits