diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-14 10:20:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 10:24:47 +0200 |
commit | b8eb2946511ce617323b13dffe2b1d9704e0be60 (patch) | |
tree | d5aa4f91e75d654a1cdfcd75f26dd4b813a73ff7 /xmlsecurity | |
parent | d8644c8edb405abd9d71e62e43e898c1d2a28fd2 (diff) |
loplugin:passstuffbyref in various
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/framework/buffernode.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx index 9d82014adda5..34cd10c87f83 100644 --- a/xmlsecurity/source/framework/buffernode.hxx +++ b/xmlsecurity/source/framework/buffernode.hxx @@ -102,7 +102,7 @@ public: const BufferNode* isAncestor(const BufferNode* pDescendant) const; bool isPrevious(const BufferNode* pFollowing) const; const BufferNode* getNextNodeByTreeOrder() const; - css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > getXMLElement() const { return m_xXMLElement;} + const css::uno::Reference< css::xml::wrapper::XXMLElementWrapper >& getXMLElement() const { return m_xXMLElement;} void setXMLElement(const css::uno::Reference< css::xml::wrapper::XXMLElementWrapper >& xXMLElement); void notifyBranch(); |