diff options
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/colorscale.hxx | 2 | ||||
-rw-r--r-- | sc/inc/refupdatecontext.hxx | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx index 944148378986..e22042600ccc 100644 --- a/sc/inc/colorscale.hxx +++ b/sc/inc/colorscale.hxx @@ -69,7 +69,7 @@ public: formula::FormulaGrammar::Grammar eGrammar = formula::FormulaGrammar::GRAM_DEFAULT); void UpdateMoveTab(SCTAB nOldTab, SCTAB nNewTab, SCTAB nTabNo); - void UpdateReference( UpdateRefMode eUpdateRefMode, + void UpdateReference( ScDocument* pDoc, UpdateRefMode eUpdateRefMode, const ScRange& rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz ); const ScTokenArray* GetFormula() const; diff --git a/sc/inc/refupdatecontext.hxx b/sc/inc/refupdatecontext.hxx index 91607ea66f9f..8067c3b4fdf2 100644 --- a/sc/inc/refupdatecontext.hxx +++ b/sc/inc/refupdatecontext.hxx @@ -13,10 +13,14 @@ #include "global.hxx" #include "address.hxx" +class ScDocument; + namespace sc { struct RefUpdateContext { + ScDocument& mrDoc; + /** * update mode - insert/delete, copy, or move. The reorder mode (which * corresponds with the reordering of sheets) is not used with this @@ -38,7 +42,7 @@ struct RefUpdateContext /** Amount and direction of movement in the sheet direction. */ SCTAB mnTabDelta; - RefUpdateContext(); + RefUpdateContext(ScDocument& rDoc); bool isInserted() const; bool isDeleted() const; |