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/inc/charthelper.hxx | |
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/inc/charthelper.hxx')
-rw-r--r-- | sc/inc/charthelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx index 61da8d797a4a..1dc55ffd312a 100644 --- a/sc/inc/charthelper.hxx +++ b/sc/inc/charthelper.hxx @@ -48,7 +48,7 @@ public: static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, const ScDocument* pDocument, SdrObject* pObject ); static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, const ScDocument* pDocument, const SdrPage* pPage ); static void GetChartNames( ::std::vector< OUString >& rChartNames, const SdrPage* pPage ); - static void CreateProtectedChartListenersAndNotify( ScDocument* pDoc, const SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab, + static void CreateProtectedChartListenersAndNotify( ScDocument& rDoc, const SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab, const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames, bool bSameDoc = true ); }; |