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 13:30:07 +0000
commit9b0c7cd38c565e7fcdd0b426391749a59d57038f (patch)
tree130876892be826567398920286b939f94e48f3cb /sc
parent06a5bad8e1feb1972059d4f9c4d89eb59ae43ae2 (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/7301 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 bde315618e18..eb4dad227e86 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;
}