diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 13:10:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 14:45:42 +0200 |
commit | 407a126af45d93f83eb4dbdc358dd569bea4db6f (patch) | |
tree | dfeba7a3c19f88bcb7c26a31a400489283504e90 /sc/inc | |
parent | 001e0e530f42b3838fa882ab77a3bb2b24f69ef7 (diff) |
loplugin:constparam in sc part6
Change-Id: Ifbb921b820b7210e7f9539e45d4852764a1e9cbd
Reviewed-on: https://gerrit.libreoffice.org/41563
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 2 | ||||
-rw-r--r-- | sc/inc/fmtuno.hxx | 4 | ||||
-rw-r--r-- | sc/inc/undorangename.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index fdf46a8fcd99..b654141dcab5 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -504,7 +504,7 @@ public: // uses ObjectShell from document, if set (returns NULL otherwise) static css::uno::Reference<css::table::XCellRange> - CreateRangeFromDoc( ScDocument* pDoc, const ScRange& rR ); + CreateRangeFromDoc( const ScDocument* pDoc, const ScRange& rR ); virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; diff --git a/sc/inc/fmtuno.hxx b/sc/inc/fmtuno.hxx index f305493322fa..82e8b9acb445 100644 --- a/sc/inc/fmtuno.hxx +++ b/sc/inc/fmtuno.hxx @@ -79,7 +79,7 @@ private: void AddEntry_Impl(const ScCondFormatEntryItem& aEntry); public: ScTableConditionalFormat() = delete; - ScTableConditionalFormat(ScDocument* pDoc, sal_uLong nKey, + ScTableConditionalFormat(const ScDocument* pDoc, sal_uLong nKey, SCTAB nTab, formula::FormulaGrammar::Grammar eGrammar); virtual ~ScTableConditionalFormat() override; @@ -193,7 +193,7 @@ private: public: ScTableValidationObj() = delete; - ScTableValidationObj(ScDocument* pDoc, sal_uLong nKey, + ScTableValidationObj(const ScDocument* pDoc, sal_uLong nKey, const formula::FormulaGrammar::Grammar eGrammar); virtual ~ScTableValidationObj() override; diff --git a/sc/inc/undorangename.hxx b/sc/inc/undorangename.hxx index 2148afbb14cb..ea82cc56a552 100644 --- a/sc/inc/undorangename.hxx +++ b/sc/inc/undorangename.hxx @@ -48,7 +48,7 @@ class ScUndoAddRangeData : public ScSimpleUndo { public: // nTab = -1 for global range names - ScUndoAddRangeData(ScDocShell* pDocSh, ScRangeData* pRangeData, SCTAB nTab); + ScUndoAddRangeData(ScDocShell* pDocSh, const ScRangeData* pRangeData, SCTAB nTab); virtual ~ScUndoAddRangeData() override; |