summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/doclay.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-02 20:26:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-04 15:03:32 +0200
commit5ec50565b35f3a776dffb7afc33a985e5ea6409f (patch)
treee00985d6330a1c9998356553a66cc7bb54903038 /sw/source/core/doc/doclay.cxx
parent3dee30f1c033d3679f7b8dbc7813b7dc03ac8f70 (diff)
MakeCopy family never called with a null SwDoc* arg
Change-Id: I4ba4569a529425a5e92fb3f82990e34ae4db3228 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/doc/doclay.cxx')
-rw-r--r--sw/source/core/doc/doclay.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 81d4e86c5724..5e03d523dd70 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -395,7 +395,7 @@ SwFlyFrameFormat* SwDoc::MakeFlyAndMove( const SwPaM& rPam, const SfxItemSet& rS
}
else
{
- rTable.MakeCopy( this, aPos, *pSelBoxes );
+ rTable.MakeCopy(*this, aPos, *pSelBoxes);
// Don't delete a part of a table with row span!!
// You could delete the content instead -> ToDo
//rTable.DeleteSel( this, *pSelBoxes, 0, 0, true, true );