sw/source/core/crsr/crstrvl.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit b3761810532c98da42a4bb6cda0d0abe67af5c24 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Tue Aug 16 18:48:45 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Aug 17 18:19:16 2022 +0200 use more SwPosition::Assign Change-Id: I2a073fc8350aa85e44e57b587450e012f411b47f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138402 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index cc9090659ec5..2f22db198aa3 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -464,8 +464,7 @@ bool SwCursorShell::GotoNxtPrvTableFormula( bool bNext, bool bOnlyErrors ) { if( bNext ) { - rPos.nNode = SwNodeOffset(0); - rPos.nContent = 0; + rPos.Assign(SwNodeOffset(0), 0); aCurGEF = SetGetExpField( rPos ); SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::EndWrapped ); } @@ -565,8 +564,7 @@ bool SwCursorShell::GotoNxtPrvTOXMark( bool bNext ) { if ( bNext ) { - rPos.nNode = SwNodeOffset(0); - rPos.nContent = 0; + rPos.Assign(SwNodeOffset(0), 0); aCurGEF = SetGetExpField( rPos ); SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::EndWrapped ); }