summaryrefslogtreecommitdiff
path: root/sc/inc/refhint.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/refhint.hxx')
-rw-r--r--sc/inc/refhint.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx
index 1eff90631de6..0f65aaeae06b 100644
--- a/sc/inc/refhint.hxx
+++ b/sc/inc/refhint.hxx
@@ -15,6 +15,8 @@
namespace sc {
+struct RefUpdateContext;
+
class RefHint : public SfxSimpleHint
{
public:
@@ -42,10 +44,11 @@ class RefMovedHint : public RefHint
{
ScRange maRange;
ScAddress maMoveDelta;
+ const sc::RefUpdateContext& mrCxt;
public:
- RefMovedHint( const ScRange& rRange, const ScAddress& rMove );
+ RefMovedHint( const ScRange& rRange, const ScAddress& rMove, const sc::RefUpdateContext& rCxt );
virtual ~RefMovedHint();
/**
@@ -57,6 +60,8 @@ public:
* Get the movement vector.
*/
const ScAddress& getDelta() const;
+
+ const sc::RefUpdateContext& getContext() const;
};
class RefColReorderHint : public RefHint