summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpcachetable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/dpcachetable.cxx')
-rw-r--r--sc/source/core/data/dpcachetable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpcachetable.cxx b/sc/source/core/data/dpcachetable.cxx
index cfd29b6bbe98..ad5e921cb278 100644
--- a/sc/source/core/data/dpcachetable.cxx
+++ b/sc/source/core/data/dpcachetable.cxx
@@ -214,7 +214,7 @@ void ScDPCacheTable::fillTable( const ScQueryParam& rQuery, BOOL* pSpecial,
// during this call, for this method may be called from the interpretation
// of GETPIVOTDATA, which disables nested formula interpretation without
// increasing the macro level.
- MacroInterpretIncrementer aMacroInc(pDoc);
+ MacroInterpretIncrementer aMacroInc(GetCache()->GetDoc());
if ( mpCache == NULL )
InitNoneCache( NULL );