diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 10:12:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 10:59:04 +0200 |
commit | 9dcf0da44e4abb92ae6f3846f6dc7383e486617e (patch) | |
tree | 958d0fd1a515b21f26452e04b8eab2a157ef957d /sc/source/core/data/documen2.cxx | |
parent | 5e522d5c9b49ba2ed04cca8111044994427c20aa (diff) |
TransferDrawPage always dereferences its ScDocument* argument
Change-Id: Ie2639fc10f1bf6a5c046e4e075337b117a8f6144
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102837
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/data/documen2.cxx')
-rw-r--r-- | sc/source/core/data/documen2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 7b50c9d1ec38..3e08ae45a35d 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -1010,7 +1010,7 @@ sal_uLong ScDocument::TransferTab( ScDocument& rSrcDoc, SCTAB nSrcPos, // copy Drawing if (bInsertNew) - TransferDrawPage( &rSrcDoc, nSrcPos, nDestPos ); + TransferDrawPage( rSrcDoc, nSrcPos, nDestPos ); maTabs[nDestPos]->SetPendingRowHeights( rSrcDoc.maTabs[nSrcPos]->IsPendingRowHeights() ); } |