summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-23 11:03:21 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-23 11:04:39 -0400
commit415f5477e8c34001bb97c788a969e6e92d1d45be (patch)
tree15b1214248981f0ad7ef8762fdf7909139340bb2 /chart2
parentfc17cc850711a59dd52e93e0961a21c7ac8bd189 (diff)
Annotate.
Change-Id: I4f0b0e76f720663a7f6ce1d1a5f3806b86165313
Diffstat (limited to 'chart2')
-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 ccbd845f5a38..041ea470e157 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 ));