summaryrefslogtreecommitdiff
path: root/sc/inc/refupdatecontext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/refupdatecontext.hxx')
-rw-r--r--sc/inc/refupdatecontext.hxx6
1 files changed, 5 insertions, 1 deletions
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;