diff options
-rw-r--r-- | svx/source/table/tablecolumn.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablecolumn.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablecolumn.cxx b/svx/source/table/tablecolumn.cxx index c5ceadee0680..44536f50499f 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 0c5083d5ce8f..320b38431b09 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; |