summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-06-08 19:55:48 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-06-08 20:56:03 +0200
commitc22d5474388354341fd49530556b594325a3afaf (patch)
tree9e040a0bc1ea9ccbdd6ee441db630b8108cc7436 /xmloff
parent9df8a2eb8c216b16927aac2182b881b21d8b2d14 (diff)
Typo xEqationProperties->xEquationProperties
Change-Id: I960506d2aaf0cf3f36f7af4bfa43169bb0afda5a Reviewed-on: https://gerrit.libreoffice.org/73720 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
index 1c42c5b7e6f2..1f4d7ef504fe 100644
--- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
+++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
@@ -167,7 +167,7 @@ void SchXMLEquationContext::StartElement( const uno::Reference< xml::sax::XAttri
if( !sAutoStyleName.isEmpty() || bShowEquation || bShowRSquare )
{
- uno::Reference< beans::XPropertySet > xEqationProperties = chart2::RegressionEquation::create( comphelper::getProcessComponentContext() );
+ uno::Reference< beans::XPropertySet > xEquationProperties = chart2::RegressionEquation::create( comphelper::getProcessComponentContext() );
if( !sAutoStyleName.isEmpty() )
{
@@ -181,20 +181,20 @@ void SchXMLEquationContext::StartElement( const uno::Reference< xml::sax::XAttri
const_cast< XMLPropStyleContext* >( dynamic_cast< const XMLPropStyleContext* >( pStyle ));
if( pPropStyleContext )
- pPropStyleContext->FillPropertySet( xEqationProperties );
+ pPropStyleContext->FillPropertySet( xEquationProperties );
}
}
- xEqationProperties->setPropertyValue( "ShowEquation", uno::makeAny( bShowEquation ));
- xEqationProperties->setPropertyValue( "ShowCorrelationCoefficient", uno::makeAny( bShowRSquare ));
+ xEquationProperties->setPropertyValue( "ShowEquation", uno::makeAny( bShowEquation ));
+ xEquationProperties->setPropertyValue( "ShowCorrelationCoefficient", uno::makeAny( bShowRSquare ));
if( bHasXPos && bHasYPos )
{
chart2::RelativePosition aRelPos;
aRelPos.Primary = static_cast< double >( aPosition.X ) / static_cast< double >( maChartSize.Width );
aRelPos.Secondary = static_cast< double >( aPosition.Y ) / static_cast< double >( maChartSize.Height );
- xEqationProperties->setPropertyValue( "RelativePosition", uno::makeAny( aRelPos ));
+ xEquationProperties->setPropertyValue( "RelativePosition", uno::makeAny( aRelPos ));
}
- mrRegressionStyle.m_xEquationProperties.set( xEqationProperties );
+ mrRegressionStyle.m_xEquationProperties.set( xEquationProperties );
}
}