diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 59dcd61639df..e14f36868c21 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -2791,11 +2791,9 @@ void ScDPObject::DumpCache() const if (!mpTableData) return; - const ScDPCache* pCache = mpTableData->GetCacheTable().getCache(); - if (!pCache) - return; + const ScDPCache &rCache = mpTableData->GetCacheTable().getCache(); - pCache->Dump(); + rCache.Dump(); } #endif |