summaryrefslogtreecommitdiff
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-23 15:03:21 (GMT)
committer Kohei Yoshida <kohei.yoshida@collabora.com>2014-07-23 15:04:39 (GMT)
commit415f5477e8c34001bb97c788a969e6e92d1d45be (patch) (side-by-side diff)
tree15b1214248981f0ad7ef8762fdf7909139340bb2
parentfc17cc850711a59dd52e93e0961a21c7ac8bd189 (diff)
downloadcore-master.zip
core-master.tar.gz
Annotate.HEADmaster
Change-Id: I4f0b0e76f720663a7f6ce1d1a5f3806b86165313
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--chart2/source/view/main/VDataSeries.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index ccbd845..041ea47 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -1001,6 +1001,7 @@ bool VDataSeries::getTextLabelMultiPropertyLists( sal_Int32 index
adaptPointCache( index );
if (!m_apLabelPropValues_AttributedPoint)
{
+ // Cache these properties for this point.
m_apLabelPropNames_AttributedPoint.reset(new tNameSequence);
m_apLabelPropValues_AttributedPoint.reset(new tAnySequence);
xTextProp.set( this->getPropertiesOfPoint( index ));
@@ -1015,6 +1016,7 @@ bool VDataSeries::getTextLabelMultiPropertyLists( sal_Int32 index
{
if (!m_apLabelPropValues_Series)
{
+ // Cache these properties for the whole series.
m_apLabelPropNames_Series.reset(new tNameSequence);
m_apLabelPropValues_Series.reset(new tAnySequence);
xTextProp.set( this->getPropertiesOfPoint( index ));