From fed7294029f07ff407765b568266084d9e8d365c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 25 Jul 2014 23:03:17 -0400 Subject: Simplify. Change-Id: Id7826839a6177532bb4c3885e798ac5feb95eaca --- xmloff/source/chart/SchXMLExport.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'xmloff/source/chart/SchXMLExport.cxx') diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 84958d8f8c55..9652641c0078 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -3301,11 +3301,8 @@ void SchXMLExportHelper_Impl::exportDataPoints( Sequence< sal_Int32 > aDataPointSeq; if( xSeriesProperties.is()) { - Any aAny = xSeriesProperties->getPropertyValue( - OUString( "AttributedDataPoints" )); - aAny >>= aDataPointSeq; - xSeriesProperties->getPropertyValue( - OUString( "VaryColorsByPoint" )) >>= bVaryColorsByPoint; + xSeriesProperties->getPropertyValue("AttributedDataPoints") >>= aDataPointSeq; + xSeriesProperties->getPropertyValue("VaryColorsByPoint") >>= bVaryColorsByPoint; } sal_Int32 nSize = aDataPointSeq.getLength(); -- cgit