diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 09:47:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 09:42:50 +0200 |
commit | bd8083916362d121cc7b16d273b5983a11eb1bda (patch) | |
tree | 90ce4cce2f5b13fa3f2310d1d579da6fa3eb7904 /sc/source/ui/drawfunc | |
parent | 8ef82d25fc806885b42ac9cafe45eb41bd3e1b7b (diff) |
AddRangesIfProtectedChart never passed a null ScDocument*
Change-Id: Ia73438defc9db3bff8aecd7a537170e9a86fd1a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102788
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 72be7847faef..dca0beaa1ef1 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -370,7 +370,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) pObj = ( pMark ? pMark->GetMarkedSdrObj() : nullptr ); if ( pObj ) { - ScChartHelper::AddRangesIfProtectedChart( aProtectedChartRangesVector, &rDocument, pObj ); + ScChartHelper::AddRangesIfProtectedChart( aProtectedChartRangesVector, rDocument, pObj ); } } } |