sw/source/filter/ww8/ww8par.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2808c8a0941f0fc7ab8db4a109cb8dfa0d7c41f1 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Aug 7 08:36:01 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Aug 7 11:20:34 2022 +0200 return by const& Change-Id: I9c364d53c9020e46a719af1868c14353d0ede67b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137917 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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;}