Kaydet (Commit) f350a71d authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Reduce scope levels.

Change-Id: I64684a80c79c3c7f5a8f23b07703fbcee3fe5887
üst 52a36fb3
......@@ -3287,8 +3287,9 @@ void SchXMLExportHelper_Impl::exportDataPoints(
// do have own attributes. This increases the performance substantially.
// more performant version for #93600#
if( mxExpPropMapper.is())
{
if (!mxExpPropMapper.is())
return;
uno::Reference< chart2::XDataSeries > xSeries( xSeriesProperties, uno::UNO_QUERY );
std::vector< XMLPropertyState > aPropertyStates;
......@@ -3462,8 +3463,9 @@ void SchXMLExportHelper_Impl::exportDataPoints(
}
}
if( bExportContent )
{
if (!bExportContent)
return;
// write elements (merge equal ones)
::std::list< SchXMLDataPointStruct >::iterator aIter = aDataPointList.begin();
SchXMLDataPointStruct aPoint;
......@@ -3505,8 +3507,6 @@ void SchXMLExportHelper_Impl::exportDataPoints(
SvXMLElementExport aPointElem( mrExport, XML_NAMESPACE_CHART, XML_DATA_POINT, true, true );
}
}
}
}
void SchXMLExportHelper_Impl::addPosition( const awt::Point & rPosition )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment