diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 13:00:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 15:24:34 +0200 |
commit | 9f958c076a86e80a48fcd7bbca65a834568e94ea (patch) | |
tree | cfa0b4f55a6b6717e5a359357fd20779e9d98b00 /toolkit | |
parent | a40558be785756929f606ab0798a026b985e0ffb (diff) |
loplugin:passstuffbyref
Change-Id: I336fd329b577b6fa141265d8bc7ce67784bd7306
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133210
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/grid/gridcolumn.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/grid/gridcolumn.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx index 0db9b50a5d75..11a03e647236 100644 --- a/toolkit/source/controls/grid/gridcolumn.cxx +++ b/toolkit/source/controls/grid/gridcolumn.cxx @@ -282,7 +282,7 @@ namespace toolkit } - Sequence< sal_Int8 > GridColumn::getUnoTunnelId() noexcept + const Sequence< sal_Int8 > & GridColumn::getUnoTunnelId() noexcept { static const comphelper::UnoIdInit aId; return aId.getSeq(); diff --git a/toolkit/source/controls/grid/gridcolumn.hxx b/toolkit/source/controls/grid/gridcolumn.hxx index cd3a8c5cd531..3f082f63c9c5 100644 --- a/toolkit/source/controls/grid/gridcolumn.hxx +++ b/toolkit/source/controls/grid/gridcolumn.hxx @@ -80,7 +80,7 @@ public: // XUnoTunnel and friends virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& i_identifier ) override; - static css::uno::Sequence< sal_Int8 > getUnoTunnelId() noexcept; + static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept; // attribute access void setIndex( sal_Int32 const i_index ); |