sc/source/core/data/dpobject.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit c1aca008603d18dcd84a751df70fb8eefd9f0111
Author: Michael Meeks <michael.me...@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 <libreoff...@kohei.us>
    Tested-by: Kohei Yoshida <libreoff...@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
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to