summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-10-07 19:27:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-07 22:03:21 +0200
commit83b6e22b37ffcd36d6030ab0c044fd7bb848f0df (patch)
treebdea388f07b3a4b8db6e716050a34d7b74879b28 /sw/source
parent82ad6bc4e8c081bfb547ad10d29885cbdd0e8ea1 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/docnode/nodes.cxx5
1 files changed, 1 insertions, 4 deletions
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;