diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 08:54:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 22:25:34 +0200 |
commit | 428d17a2ed068dcbb21eb66338ee7fcf2cfa8929 (patch) | |
tree | f84f14c91fa8661b89413db29bfbfe01cf2580f9 /sc/inc/charthelper.hxx | |
parent | df7abb6981546aebebe69dc944f2a6555a7b669c (diff) |
some places where ScDocument* is never passed a nullptr
and so some nullptr checks can be removed
Change-Id: I7dedc2c6d054d9749db9766eaa3a5681842b2b69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103239
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 2228d06506c7..9af57b1db22c 100644 --- a/sc/inc/charthelper.hxx +++ b/sc/inc/charthelper.hxx @@ -38,7 +38,7 @@ class ScChartHelper public: static sal_uInt16 DoUpdateAllCharts( ScDocument* pDoc ); static void AdjustRangesOfChartsOnDestinationPage( const ScDocument& rSrcDoc, ScDocument& rDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab ); - static void UpdateChartsOnDestinationPage( ScDocument* pDestDoc, const SCTAB nDestTab ); + static void UpdateChartsOnDestinationPage( ScDocument& rDestDoc, const SCTAB nDestTab ); static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject( const SdrObject* pObject ); static void GetChartRanges( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc, std::vector< OUString >& rRanges ); |