diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 09:46:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 09:42:34 +0200 |
commit | 8ef82d25fc806885b42ac9cafe45eb41bd3e1b7b (patch) | |
tree | d9f3b06304aef63d27b96f63301abdb93dedc446 /sc/source/ui/view/viewfun3.cxx | |
parent | c04ee66c7cfeb725d637b0f9ec3e3b1f8776bfe9 (diff) |
FillProtectedChartRangesVector never passed a null ScDocument*
Change-Id: If090786c7e5834ea3cf990b0b4e9dbd2ec2a56a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102786
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 989037bc6369..407c10782fc2 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -269,7 +269,7 @@ bool ScViewFunc::CopyToClipSingleRange( ScDocument* pClipDoc, const ScRangeList& SdrPage* pPage = pDrawLayer->GetPage( static_cast< sal_uInt16 >( nTab ) ); if ( pPage ) { - ScChartHelper::FillProtectedChartRangesVector( rRangesVector, &rDoc, pPage ); + ScChartHelper::FillProtectedChartRangesVector( rRangesVector, rDoc, pPage ); } } } |