diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-10-09 12:14:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-09 13:33:06 +0200 |
commit | 8f9e625ebcb911b99316212676d9de1c02df549a (patch) | |
tree | 45fe22c5fad6875bb257bf06c061269e49432020 /sw/source | |
parent | dfac5bf18b5568bd60b8f85a058010b8ec8d3bf7 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/crsr/findattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |