sw/source/core/doc/swserv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 19f35314440ea1f4da57e6a6053dbe64acb4785a Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sat Oct 8 07:55:22 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Oct 8 12:27:52 2022 +0200 use more SwPosition::Assign part of the process of hiding the internals of SwPosition Change-Id: I32c0537a852a5d66f57b4dfcfd02a7c3e4cdc8dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx index a364f0aeb234..b12ab6b6c15c 100644 --- a/sw/source/core/doc/swserv.cxx +++ b/sw/source/core/doc/swserv.cxx @@ -79,7 +79,7 @@ bool SwServerObject::GetData( uno::Any & rData, pPam = new SwPaM( SwPosition( *m_CNTNT_TYPE.pSectNd ) ); pPam->Move( fnMoveForward ); pPam->SetMark(); - pPam->GetPoint()->nNode = *m_CNTNT_TYPE.pSectNd->EndOfSectionNode(); + pPam->GetPoint()->Assign( *m_CNTNT_TYPE.pSectNd->EndOfSectionNode() ); pPam->Move( fnMoveBackward ); break; case NONE_SERVER: break;