xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit c22d5474388354341fd49530556b594325a3afaf
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Jun 8 19:55:48 2019 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Jun 8 20:56:03 2019 +0200

    Typo xEqationProperties->xEquationProperties
    
    Change-Id: I960506d2aaf0cf3f36f7af4bfa43169bb0afda5a
    Reviewed-on: https://gerrit.libreoffice.org/73720
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

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 );
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to