summaryrefslogtreecommitdiff
path: root/chart2/source/view/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-01-12 21:04:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-13 07:37:09 +0100
commit38eaa0c825ec461a296f4ea5f7bdc90f3a6408e9 (patch)
tree97cb407b6a86c5db00003b41509342d87b8b350f /chart2/source/view/inc
parentbfe32f3e50b5406810e740ac41368f101033e766 (diff)
cache result of query for dataseries properties
shaves some time off the perf profile of large charts Change-Id: Ic9feab719d784b2e58e96c8a1c642d363d3c5f27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128355 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/inc')
-rw-r--r--chart2/source/view/inc/VDataSeries.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index bfbc6c9b20ea..11d916510961 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -195,6 +195,7 @@ public: //member
private: //member
css::uno::Reference<css::chart2::XDataSeries> m_xDataSeries;
+ css::uno::Reference<css::beans::XPropertySet> m_xDataSeriesProps; // cached
//all points given by the model data (here are not only the visible points meant)
sal_Int32 m_nPointCount;