diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-26 08:32:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-26 19:56:02 +0100 |
commit | 2a421b26c0100b35d28b86a5d79afa15af9580dd (patch) | |
tree | 064240373eeec9600054ebb8493bb0e1fbd8576d /framework/inc | |
parent | 2bf1cc7372088ec31ac5f0fb60de57feda59d3b7 (diff) |
loplugin:passstuffbyref improved return in basic,framework
Change-Id: Ib19836febb59f4e2bb07dc874cfc6baabc653237
Reviewed-on: https://gerrit.libreoffice.org/47065
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/classes/imagewrapper.hxx | 2 | ||||
-rw-r--r-- | framework/inc/xml/xmlnamespaces.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/classes/imagewrapper.hxx b/framework/inc/classes/imagewrapper.hxx index 2c759f5afa64..14b93c1e1e3c 100644 --- a/framework/inc/classes/imagewrapper.hxx +++ b/framework/inc/classes/imagewrapper.hxx @@ -43,7 +43,7 @@ class FWE_DLLPUBLIC ImageWrapper : return m_aImage; } - static css::uno::Sequence< sal_Int8 > GetUnoTunnelId(); + static css::uno::Sequence< sal_Int8 > const & GetUnoTunnelId(); // XBitmap virtual css::awt::Size SAL_CALL getSize() override; diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index 101c3f4e1d34..f8e1369bad8a 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -47,7 +47,7 @@ class FWE_DLLPUBLIC XMLNamespaces final typedef ::std::map< OUString, OUString > NamespaceMap; /// @throws css::xml::sax::SAXException - OUString getNamespaceValue( const OUString& aNamespace ) const; + OUString const & getNamespaceValue( const OUString& aNamespace ) const; OUString m_aDefaultNamespace; OUString m_aXMLAttributeNamespace; |