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 /xmlsecurity | |
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 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx index 9de3930731ab..9104966185ea 100644 --- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx +++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx @@ -33,7 +33,7 @@ XMLElementWrapper_XmlSecImpl::XMLElementWrapper_XmlSecImpl(const xmlNodePtr pNod } /* XUnoTunnel */ -uno::Sequence< sal_Int8 > XMLElementWrapper_XmlSecImpl::getUnoTunnelId() +const uno::Sequence< sal_Int8 > & XMLElementWrapper_XmlSecImpl::getUnoTunnelId() { static const comphelper::UnoIdInit implId; return implId.getSeq(); diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx index 4e3f44527d62..de833d25a139 100644 --- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx @@ -55,7 +55,7 @@ public: /* css::lang::XUnoTunnel */ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; /// @throws css::uno::RuntimeException - static css::uno::Sequence < sal_Int8 > getUnoTunnelId(); + static const css::uno::Sequence < sal_Int8 > & getUnoTunnelId(); /* css::lang::XServiceInfo */ virtual OUString SAL_CALL getImplementationName( ) override; |