diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 09:38:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 21:37:14 +0200 |
commit | 8f78e5b82a87437877bdb883f003e571cc042094 (patch) | |
tree | b8a429e91be60db20988ec05c380bf93b3ffa99e /sc/source/ui/view/viewfun3.cxx | |
parent | 24ceb100883e5413b1e911bf1bc29df008972a5a (diff) |
CreateProtectedChartListenersAndNotify never passed a null ScDocument*
Change-Id: I76efe00924938830f26e1901c22da04376c30ce9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102784
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewfun3.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index aba8c6666765..989037bc6369 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -1457,7 +1457,7 @@ bool ScViewFunc::PasteFromClip( InsertDeleteFlags nFlags, ScDocument* pClipDoc, { bool bSameDoc = ( rClipParam.getSourceDocID() == rDoc.GetDocumentID() ); const ScRangeListVector& rProtectedChartRangesVector( rClipParam.maProtectedChartRangesVector ); - ScChartHelper::CreateProtectedChartListenersAndNotify( &rDoc, pPage, pModelObj, nStartTab, + ScChartHelper::CreateProtectedChartListenersAndNotify( rDoc, pPage, pModelObj, nStartTab, rProtectedChartRangesVector, aExcludedChartNames, bSameDoc ); } } |