summaryrefslogtreecommitdiff
path: root/sc/inc/charthelper.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-15 09:46:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-16 09:42:34 +0200
commit8ef82d25fc806885b42ac9cafe45eb41bd3e1b7b (patch)
treed9f3b06304aef63d27b96f63301abdb93dedc446 /sc/inc/charthelper.hxx
parentc04ee66c7cfeb725d637b0f9ec3e3b1f8776bfe9 (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/inc/charthelper.hxx')
-rw-r--r--sc/inc/charthelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx
index 1dc55ffd312a..4889c9de8eff 100644
--- a/sc/inc/charthelper.hxx
+++ b/sc/inc/charthelper.hxx
@@ -46,7 +46,7 @@ public:
const css::uno::Sequence< OUString >& rRanges );
static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, const ScDocument* pDocument, SdrObject* pObject );
- static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, const ScDocument* pDocument, const SdrPage* pPage );
+ static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, const ScDocument& rDocument, const SdrPage* pPage );
static void GetChartNames( ::std::vector< OUString >& rChartNames, const SdrPage* pPage );
static void CreateProtectedChartListenersAndNotify( ScDocument& rDoc, const SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab,
const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames, bool bSameDoc = true );