Blame SOURCES/0004-fdo-72774-Ensure-that-all-the-group-fields-are-in-ca.patch

f0633d
From d391dd145631ffdbc6e506ba59db7d1977331aff Mon Sep 17 00:00:00 2001
f0633d
From: Kohei Yoshida <kohei.yoshida@collabora.com>
f0633d
Date: Tue, 7 Jan 2014 16:36:55 -0500
f0633d
Subject: [PATCH 4/9] fdo#72774: Ensure that all the group fields are in cache
f0633d
 upon file load.
f0633d
f0633d
This resolves the originally reported issue in that bug (in Comment 1).
f0633d
f0633d
Change-Id: I6fb85cff1eafb78d784605aa08e7d992a1ac36e0
f0633d
(cherry picked from commit 256e4ccba8a331f2d30c6b5da9dca70206deadae)
f0633d
Reviewed-on: https://gerrit.libreoffice.org/7302
f0633d
Reviewed-by: Eike Rathke <erack@redhat.com>
f0633d
Tested-by: Eike Rathke <erack@redhat.com>
f0633d
---
f0633d
 sc/source/core/data/dpobject.cxx | 3 +++
f0633d
 1 file changed, 3 insertions(+)
f0633d
f0633d
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
f0633d
index f9344aa..3ade4cf 100644
f0633d
--- a/sc/source/core/data/dpobject.cxx
f0633d
+++ b/sc/source/core/data/dpobject.cxx
f0633d
@@ -2858,6 +2858,9 @@ const ScDPCache* ScDPCollection::SheetCaches::getCache(const ScRange& rRange, co
f0633d
             return NULL;
f0633d
         }
f0633d
 
f0633d
+        if (pDimData)
f0633d
+            pDimData->WriteToCache(*itCache->second);
f0633d
+
f0633d
         return itCache->second;
f0633d
     }
f0633d
 
f0633d
-- 
f0633d
1.8.4.2
f0633d