summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2015-01-13 10:58:28 +0100
committerEike Rathke <erack@redhat.com>2015-01-14 19:56:05 +0000
commite867843e76e1a8ce1a0fa85b122485a241dc2baf (patch)
tree734f5e38555a9377f18051dac812ded54a037531
parented20e81a886a13125a551ce24b6f9408d61e8e61 (diff)
sc: rename ScSTEXY to ScSTEYX
The actual Calc function is STEYX. Change-Id: I7c778a3b00e54aa97b61c00e2e7c40c2db48a08b Reviewed-on: https://gerrit.libreoffice.org/13898 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/core/inc/interpre.hxx2
-rw-r--r--sc/source/core/tool/interpr3.cxx2
-rw-r--r--sc/source/core/tool/interpr4.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 07e1cce4c049..7f8d13458525 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -841,7 +841,7 @@ void ScCovarianceP();
void ScCovarianceS();
void ScPearson();
void ScRSQ();
-void ScSTEXY();
+void ScSTEYX();
void ScSlope();
void ScTrend();
void ScInfo();
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index 2ab14289a56c..67a5b12f86e1 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -4254,7 +4254,7 @@ void ScInterpreter::ScRSQ()
}
}
-void ScInterpreter::ScSTEXY()
+void ScInterpreter::ScSTEYX()
{
CalculatePearsonCovar( true, true, false );
}
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index acb1002906d8..f695ea87278e 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4185,7 +4185,7 @@ StackVar ScInterpreter::Interpret()
case ocCovarianceS : ScCovarianceS(); break;
case ocPearson : ScPearson(); break;
case ocRSQ : ScRSQ(); break;
- case ocSTEYX : ScSTEXY(); break;
+ case ocSTEYX : ScSTEYX(); break;
case ocSlope : ScSlope(); break;
case ocIntercept : ScIntercept(); break;
case ocTrend : ScTrend(); break;