summaryrefslogtreecommitdiff
path: root/sc/inc/formulaiter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/formulaiter.hxx')
-rw-r--r--sc/inc/formulaiter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/formulaiter.hxx b/sc/inc/formulaiter.hxx
index 2695255424f0..f49ca5c423a8 100644
--- a/sc/inc/formulaiter.hxx
+++ b/sc/inc/formulaiter.hxx
@@ -32,11 +32,11 @@ class ScFormulaCell;
class ScDetectiveRefIter
{
private:
- const ScDocument* mpDoc;
+ const ScDocument& mrDoc;
formula::FormulaTokenArrayPlainIterator maIter;
ScAddress aPos;
public:
- ScDetectiveRefIter( const ScDocument* pDoc, ScFormulaCell* pCell );
+ ScDetectiveRefIter( const ScDocument& rDoc, ScFormulaCell* pCell );
bool GetNextRef( ScRange& rRange );
formula::FormulaToken* GetNextRefToken();
};