diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-02 20:26:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-04 15:03:32 +0200 |
commit | 5ec50565b35f3a776dffb7afc33a985e5ea6409f (patch) | |
tree | e00985d6330a1c9998356553a66cc7bb54903038 /sw/source/filter | |
parent | 3dee30f1c033d3679f7b8dbc7813b7dc03ac8f70 (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/filter')
-rw-r--r-- | sw/source/filter/basflt/shellio.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 373d552f374a..88e6d04459cd 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -755,7 +755,7 @@ ErrCode SwWriter::Write( WriterRef const & rxWriter, const OUString* pRealFileNa SwContentNode *pNd = aIdx.GetNode().GetContentNode(); OSL_ENSURE( pNd, "Node not found" ); SwPosition aPos( aIdx, SwIndex( pNd ) ); - pTableNd->GetTable().MakeCopy( xDoc.get(), aPos, aBoxes ); + pTableNd->GetTable().MakeCopy( *xDoc, aPos, aBoxes ); } if( !m_bWriteAll && ( m_pShell || m_pOutPam )) |