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 /accessibility | |
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 'accessibility')
-rw-r--r-- | accessibility/source/standard/vclxaccessibletoolbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx index 50a600e3cbef..4e2059b61280 100644 --- a/accessibility/source/standard/vclxaccessibletoolbox.cxx +++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx @@ -94,7 +94,7 @@ namespace sal_Int32 getIndexInParent() const { return m_nIndexInParent; } void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; } - static Sequence< sal_Int8 > getUnoTunnelId(); + static const Sequence< sal_Int8 > & getUnoTunnelId(); public: OToolBoxWindowItem(sal_Int32 _nIndexInParent, @@ -132,7 +132,7 @@ namespace return new OToolBoxWindowItemContext( m_nIndexInParent, getComponentContext(), _rxInnerContext, this, getParent() ); } - Sequence< sal_Int8 > OToolBoxWindowItem::getUnoTunnelId() + const Sequence< sal_Int8 > & OToolBoxWindowItem::getUnoTunnelId() { static const comphelper::UnoIdInit implId; return implId.getSeq(); |