From 415f5477e8c34001bb97c788a969e6e92d1d45be Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 23 Jul 2014 11:03:21 -0400 Subject: Annotate. Change-Id: I4f0b0e76f720663a7f6ce1d1a5f3806b86165313 --- chart2/source/view/main/VDataSeries.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 )); -- cgit v1.2.3