summaryrefslogtreecommitdiff
path: root/sc/inc/chart2uno.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2009-09-01 22:01:32 -0400
committerKohei Yoshida <kyoshida@novell.com>2009-09-01 22:01:32 -0400
commit9b7f14b542df6e200ac811c6e4ac4ad062fdedbf (patch)
treeb7bc530f917bdd300e084da0686270d42f4704b4 /sc/inc/chart2uno.hxx
parent211dce571775ee68aa32a74a92645fc6caf148fb (diff)
#i102671# Cache the data sequence returned from ScChart2DataSequence::getData() to improve performance for pie charts (with lots of slices).
Diffstat (limited to 'sc/inc/chart2uno.hxx')
-rw-r--r--sc/inc/chart2uno.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index dc0244dfcdb8..8ea25a61d655 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -533,6 +533,14 @@ private:
};
::std::list<Item> m_aDataArray;
+
+ /**
+ * Cached data for getData. We may also need to cache data for the
+ * numerical and textural data series if they turn out to be bottlenecks
+ * under certain scenarios.
+ */
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > m_aMixedDataCache;
+
::com::sun::star::uno::Sequence<sal_Int32> m_aHiddenValues;
// properties