diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-12-18 22:28:06 +0000 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2015-12-19 00:00:04 +0000 |
commit | c1aca008603d18dcd84a751df70fb8eefd9f0111 (patch) | |
tree | 156708899b717d0b971b29605a83a3476bbdeca2 /sc | |
parent | a103c3456a2bd12c5c94124abeda06978caea609 (diff) |
Fix pivot cache debugging.
Change-Id: I79facae1159f878092a47560bb1c4488842fcc0a
Reviewed-on: https://gerrit.libreoffice.org/20811
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
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 |