sw/source/core/doc/docnum.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit 0090640f882309f1ad07466054fb29b0ed10cb6f Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Nov 29 08:50:22 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Nov 29 11:11:54 2024 +0100
cid#1635775 Use of auto that causes a copy looks like a stray line I think Change-Id: I065a35d6e161c37d832e308f7ed1ce239e4e2bbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177516 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index 81bc47a8ab47..584417b5ed76 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -472,7 +472,6 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, SwNode* pEndSrch = &aEndRg.GetNode(); - auto aOutlineNodes = GetNodes().GetOutLineNds(); if( !pOutlineNodesInline && !GetNodes().GetOutLineNds().Seek_Entry( pSrch, &nCurrentPos ) ) { if( !nCurrentPos )