cppcheck: variableScope
Change-Id: Ic175a141cc6b6e98e66da7bc34ee77090236c9b6 Reviewed-on: https://gerrit.libreoffice.org/56767 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
This commit is contained in:
@@ -2884,9 +2884,6 @@ void SchXMLExportHelper_Impl::exportRegressionCurve(
|
|||||||
{
|
{
|
||||||
OSL_ASSERT( mxExpPropMapper.is());
|
OSL_ASSERT( mxExpPropMapper.is());
|
||||||
|
|
||||||
std::vector< XMLPropertyState > aPropertyStates;
|
|
||||||
std::vector< XMLPropertyState > aEquationPropertyStates;
|
|
||||||
|
|
||||||
Reference< chart2::XRegressionCurveContainer > xRegressionCurveContainer( xSeries, uno::UNO_QUERY );
|
Reference< chart2::XRegressionCurveContainer > xRegressionCurveContainer( xSeries, uno::UNO_QUERY );
|
||||||
if( xRegressionCurveContainer.is() )
|
if( xRegressionCurveContainer.is() )
|
||||||
{
|
{
|
||||||
@@ -2898,6 +2895,7 @@ void SchXMLExportHelper_Impl::exportRegressionCurve(
|
|||||||
|
|
||||||
for( pIt = pBeg; pIt != pEnd; pIt++ )
|
for( pIt = pBeg; pIt != pEnd; pIt++ )
|
||||||
{
|
{
|
||||||
|
std::vector< XMLPropertyState > aEquationPropertyStates;
|
||||||
Reference< chart2::XRegressionCurve > xRegCurve = *pIt;
|
Reference< chart2::XRegressionCurve > xRegCurve = *pIt;
|
||||||
if (!xRegCurve.is())
|
if (!xRegCurve.is())
|
||||||
continue;
|
continue;
|
||||||
@@ -2917,7 +2915,7 @@ void SchXMLExportHelper_Impl::exportRegressionCurve(
|
|||||||
OUString aService;
|
OUString aService;
|
||||||
aService = xServiceName->getServiceName();
|
aService = xServiceName->getServiceName();
|
||||||
|
|
||||||
aPropertyStates = mxExpPropMapper->Filter( xProperties );
|
std::vector< XMLPropertyState > aPropertyStates = mxExpPropMapper->Filter( xProperties );
|
||||||
|
|
||||||
// Add service name (which is regression type)
|
// Add service name (which is regression type)
|
||||||
sal_Int32 nIndex = GetPropertySetMapper()->FindEntryIndex(XML_SCH_CONTEXT_SPECIAL_REGRESSION_TYPE);
|
sal_Int32 nIndex = GetPropertySetMapper()->FindEntryIndex(XML_SCH_CONTEXT_SPECIAL_REGRESSION_TYPE);
|
||||||
|
Reference in New Issue
Block a user