summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-02-03 15:32:54 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-02-03 15:33:25 +0100
commit773c976592cba5a373ea100e9968e231187def72 (patch)
tree3434599e2b8ba41935ff9d4036cb4c7ac1c2f65f
parentAccess2Base - New CommandBarControl class (diff)
downloadcore-773c976592cba5a373ea100e9968e231187def72.tar.gz
core-773c976592cba5a373ea100e9968e231187def72.zip
Typo: calulate->calculate
Change-Id: I33866a177eded1e96860cb07b16b753385b88319
-rw-r--r--sc/source/core/inc/interpre.hxx2
-rw-r--r--sc/source/core/tool/interpr5.cxx6
-rw-r--r--vcl/source/window/toolbox.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 04ee48eee7ed..b9fd9a29970a 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -724,7 +724,7 @@ void CalculateLookup(bool bHLookup);
bool FillEntry(ScQueryEntry& rEntry);
void CalculateAddSub(bool _bSub);
void CalculateTrendGrowth(bool _bGrowth);
-void CalulateRGPRKP(bool _bRKP);
+void CalculateRGPRKP(bool _bRKP);
void CalculateSumX2MY2SumX2DY2(bool _bSumX2DY2);
void CalculateMatrixValue(const ScMatrix* pMat,SCSIZE nC,SCSIZE nR);
bool CheckMatrix(bool _bLOG,sal_uInt8& nCase,SCSIZE& nCX,SCSIZE& nCY,SCSIZE& nRX,SCSIZE& nRY,SCSIZE& M,SCSIZE& N,ScMatrixRef& pMatX,ScMatrixRef& pMatY);
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index 2cf80982c40a..b2d213d2d183 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -2340,16 +2340,16 @@ bool ScInterpreter::CheckMatrix(bool _bLOG, sal_uInt8& nCase, SCSIZE& nCX,
// LINEST
void ScInterpreter::ScRGP()
{
- CalulateRGPRKP(false);
+ CalculateRGPRKP(false);
}
// LOGEST
void ScInterpreter::ScRKP()
{
- CalulateRGPRKP(true);
+ CalculateRGPRKP(true);
}
-void ScInterpreter::CalulateRGPRKP(bool _bRKP)
+void ScInterpreter::CalculateRGPRKP(bool _bRKP)
{
sal_uInt8 nParamCount = GetByte();
if (!MustHaveParamCount( nParamCount, 1, 4 ))
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 082d86dbe821..490feac7f767 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -2174,7 +2174,7 @@ void ToolBox::ImplFormat( bool bResize )
mpData->ImplClearLayoutData();
- // recalulate positions and sizes
+ // recalculate positions and sizes
Rectangle aEmptyRect;
long nLineSize;
long nLeft;
@@ -2481,7 +2481,7 @@ void ToolBox::ImplFormat( bool bResize )
{
it->maCalcRect.Left() = nX;
// if special TBX_LAYOUT_LOCKVERT lock vertical position
- // don't recalulate the vertical position of the item
+ // don't recalculate the vertical position of the item
if ( meLayoutMode == TBX_LAYOUT_LOCKVERT && mnLines == 1 )
{
// Somewhat of a hack here, calc deletes and re-adds