diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-26 16:08:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-26 18:51:30 +0200 |
commit | 6cd8e893355ac838dcf5ce92bc6a456b7246475f (patch) | |
tree | f3a5a9d365ab4fd9c7342513b46e0e1d2f71ba35 /sw/inc | |
parent | 5cbbad4a6e3138de17093e7fdf0b4b9d5d975e53 (diff) |
make the parameter to SwTableNode::MakeOwnFrames optional
since most of the call sites seem to be just creating a temporary and
then ignoring it
Change-Id: Ia50cdd4ce5eca665351d3f76e395178bab827b08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138879
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/node.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 4ff2366ee97c..0d749899b078 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -522,7 +522,8 @@ public: SwTabFrame *MakeFrame( SwFrame* ); /// Creates the frms for the table node (i.e. the TabFrames). - void MakeOwnFrames(SwNodeIndex* pIdxBehind); + /// pIdxBehind is optional parameter. + void MakeOwnFrames(SwNodeIndex* pIdxBehind = nullptr); /** Method deletes all views of document for the node. The content frames are removed from the respective layout. */ |