[Libreoffice-commits] core.git: xmloff/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 8 18:57:03 UTC 2019


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

New commits:
commit c22d5474388354341fd49530556b594325a3afaf
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Jun 8 19:55:48 2019 +0200
Commit:     Julien Nabet <serval2412 at 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 <serval2412 at 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 );
     }
 }
 


More information about the Libreoffice-commits mailing list