[Libreoffice-commits] core.git: sc/source
Michael Meeks
michael.meeks at collabora.com
Fri Dec 18 16:00:39 PST 2015
sc/source/core/data/dpobject.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit c1aca008603d18dcd84a751df70fb8eefd9f0111
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri Dec 18 22:28:06 2015 +0000
Fix pivot cache debugging.
Change-Id: I79facae1159f878092a47560bb1c4488842fcc0a
Reviewed-on: https://gerrit.libreoffice.org/20811
Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
Tested-by: Kohei Yoshida <libreoffice at kohei.us>
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 59dcd61..e14f368 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
More information about the Libreoffice-commits
mailing list