summaryrefslogtreecommitdiff
path: root/sc/inc/charthelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-23 11:25:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-23 14:59:04 +0200
commit53d0a6deffc425cdc4fc1382cb1cab2072b4f56b (patch)
tree90b32da169ad49a48eb6748812f7898286e9a3f4 /sc/inc/charthelper.hxx
parent5b518ab051cc04e672ceb01da42b06625a1a4ce9 (diff)
loplugin:constparam in sc part2
Change-Id: I4fd18096d7d22d8c146a2437906187d5df1cb268 Reviewed-on: https://gerrit.libreoffice.org/41447 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/charthelper.hxx')
-rw-r--r--sc/inc/charthelper.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx
index 000e6af6e110..9e7689e87fcf 100644
--- a/sc/inc/charthelper.hxx
+++ b/sc/inc/charthelper.hxx
@@ -40,16 +40,16 @@ public:
static sal_uInt16 DoUpdateAllCharts( ScDocument* pDoc );
static void AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab );
static void UpdateChartsOnDestinationPage( ScDocument* pDestDoc, const SCTAB nDestTab );
- static css::uno::Reference< css::chart2::XChartDocument > GetChartFromSdrObject( SdrObject* pObject );
+ 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 );
static void SetChartRanges( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc,
const css::uno::Sequence< OUString >& rRanges );
- static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrObject* pObject );
- static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, ScDocument* pDocument, SdrPage* pPage );
- static void GetChartNames( ::std::vector< OUString >& rChartNames, SdrPage* pPage );
- static void CreateProtectedChartListenersAndNotify( ScDocument* pDoc, SdrPage* pPage, ScModelObj* pModelObj, SCTAB nTab,
+ static void AddRangesIfProtectedChart( ScRangeListVector& rRangesVector, const ScDocument* pDocument, SdrObject* pObject );
+ static void FillProtectedChartRangesVector( ScRangeListVector& rRangesVector, 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,
const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames, bool bSameDoc = true );
};