sw/source/core/crsr/findattr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8f9e625ebcb911b99316212676d9de1c02df549a Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Oct 9 12:14:11 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Oct 9 13:33:06 2022 +0200 use more SwPosition::Assign part of the process of hiding the internals of SwPosition Change-Id: I3b21c87b402fe0d4d0137fdb8d383a6e08189f9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141138 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx index 85811c012538..29c5c8f7ef71 100644 --- a/sw/source/core/crsr/findattr.cxx +++ b/sw/source/core/crsr/findattr.cxx @@ -981,7 +981,7 @@ bool FindAttrImpl(SwPaM & rSearchPam, if (pAttr) { assert(pAttrNode); - oPam->GetPoint()->nNode = *pAttrNode; + oPam->GetPoint()->Assign(*pAttrNode); lcl_SetAttrPam(*oPam, pAttr->GetStart(), pAttr->End(), bSrchForward); bFound = true; break;