summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-07 16:36:55 -0500
committerEike Rathke <erack@redhat.com>2014-01-08 12:58:18 +0000
commitd391dd145631ffdbc6e506ba59db7d1977331aff (patch)
treedd4c75f5306c9c9fd01918065c7bef7115cd029d /sc
parent7c4a58833df3931c168c57be3239e904e3a3baba (diff)
fdo#72774: Ensure that all the group fields are in cache upon file load.
This resolves the originally reported issue in that bug (in Comment 1). Change-Id: I6fb85cff1eafb78d784605aa08e7d992a1ac36e0 (cherry picked from commit 256e4ccba8a331f2d30c6b5da9dca70206deadae) Reviewed-on: https://gerrit.libreoffice.org/7302 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpobject.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index f9344aae4561..3ade4cff5c8f 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -2858,6 +2858,9 @@ const ScDPCache* ScDPCollection::SheetCaches::getCache(const ScRange& rRange, co
return NULL;
}
+ if (pDimData)
+ pDimData->WriteToCache(*itCache->second);
+
return itCache->second;
}