diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-07 08:36:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-07 11:20:34 +0200 |
commit | 2808c8a0941f0fc7ab8db4a109cb8dfa0d7c41f1 (patch) | |
tree | ad4bf0af97ffaf2f213d6b581c72ebbcaa18b4d6 | |
parent | 110cc21fe2d59ad76a28b56f029421c0f9672073 (diff) |
return by const&
Change-Id: I9c364d53c9020e46a719af1868c14353d0ede67b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137917
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index fa33b75b197b..383c4e34c24f 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -567,7 +567,7 @@ class WW8FieldEntry WW8FieldEntry &operator=(const WW8FieldEntry &rOther) noexcept; void Swap(WW8FieldEntry &rOther) noexcept; - SwNodeIndex GetPtNode() const { return maStartPos.GetPtNode(); }; + const SwNodeIndex& GetPtNode() const { return maStartPos.GetPtNode(); }; sal_Int32 GetPtContent() const { return maStartPos.GetPtContent(); }; const OUString& GetBookmarkName() const { return msBookmarkName;} |