sw/source/core/docnode/nodes.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 83b6e22b37ffcd36d6030ab0c044fd7bb848f0df Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Fri Oct 7 19:27:49 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Oct 7 22:03:21 2022 +0200 simplify MakeOwnFrames usage the parameter is purely an "out" parameter, so unless we need the result, there is no need to pass anything in it. Change-Id: Ic4eda8790edb1a6cb8837fe5b6c97c9c61cc25a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141089 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx index 37d0159a4e3f..915fb673778d 100644 --- a/sw/source/core/docnode/nodes.cxx +++ b/sw/source/core/docnode/nodes.cxx @@ -1815,10 +1815,7 @@ void SwNodes::CopyNodes( const SwNodeRange& rRange, aRg.aStart = pCurrentNode->EndOfSectionIndex(); if( bNewFrames && pTableNd ) - { - nStt = aInsPos; - pTableNd->MakeOwnFrames(&nStt); - } + pTableNd->MakeOwnFrames(); } break;