diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-10 15:56:06 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-10 18:44:11 -0500 |
commit | b3977983e9f662392426f581516d86d7034ad0fd (patch) | |
tree | 2f58dbbdacb0be1a0f6abc145b3d65fc347b5f5f /sc/inc/dpobject.hxx | |
parent | Dump group types from pivot cache for debugging. (diff) | |
download | core-b3977983e9f662392426f581516d86d7034ad0fd.tar.gz core-b3977983e9f662392426f581516d86d7034ad0fd.zip |
fdo#66969: Reset group dimension data from all referencing pivot objects.
The previous code was doing it only with the first referencing pivot table,
which would break the rest of them sharing the same cache if
the first one doesn't contain all group dimensions used in all of the
referencing pivot tables.
Change-Id: I35d6907ef8db7ed69db42583cac92b2b74406e2c
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r-- | sc/inc/dpobject.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 309fab687957..803a05ebedcb 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -290,7 +290,7 @@ public: private: ScDPCache* getExistingCache(const ScRange& rRange); - void updateCache(const ScRange& rRange, const ScDPDimensionSaveData* pDimData, std::set<ScDPObject*>& rRefs); + void updateCache(const ScRange& rRange, std::set<ScDPObject*>& rRefs); bool remove(const ScDPCache* p); }; @@ -313,8 +313,7 @@ public: ScDPCache* getExistingCache(const OUString& rName); void updateCache( - const OUString& rName, const ScRange& rRange, - const ScDPDimensionSaveData* pDimData, std::set<ScDPObject*>& rRefs); + const OUString& rName, const ScRange& rRange, std::set<ScDPObject*>& rRefs); bool remove(const ScDPCache* p); }; @@ -358,8 +357,9 @@ public: com::sun::star::uno::Reference<com::sun::star::sdbc::XRowSet> createRowSet( sal_Int32 nSdbType, const OUString& rDBName, const OUString& rCommand); - void updateCache(sal_Int32 nSdbType, const OUString& rDBName, const OUString& rCommand, - const ScDPDimensionSaveData* pDimData, std::set<ScDPObject*>& rRefs); + void updateCache( + sal_Int32 nSdbType, const OUString& rDBName, const OUString& rCommand, + std::set<ScDPObject*>& rRefs); bool remove(const ScDPCache* p); }; |