summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-15 10:42:04 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-15 11:14:28 +0300
commitcb6d67c21f11811c5bc023b9565c1c1b1f4081fa (patch)
treeff8a4b192a2ca846d32111732563432244135910 /starmath/source
parent1a357b7394ac7b48b72821bff1aae4706265d7a4 (diff)
Spelling "separate" (etc) correctly is hard
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/mathmlexport.cxx2
-rw-r--r--starmath/source/mathtype.cxx12
-rw-r--r--starmath/source/mathtype.hxx2
-rw-r--r--starmath/source/node.cxx2
4 files changed, 9 insertions, 9 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 654809d26221..35fb1efafca4 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -927,7 +927,7 @@ void SmXMLExport::ExportSubSupScript(const SmNode *pNode, int nLevel)
}
}
- //Seperator element between suffix and prefix sub/sup pairs
+ //Separator element between suffix and prefix sub/sup pairs
{
SvXMLElementExport aPrescripts(*this, XML_NAMESPACE_MATH,
XML_MPRESCRIPTS, sal_True,sal_True);
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 8a73c1a604b3..8b958a144a42 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1281,7 +1281,7 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
}
- HandleMatrixSeperator(nMatrixRows,nMatrixCols,
+ HandleMatrixSeparator(nMatrixRows,nMatrixCols,
nCurCol,nCurRow);
switch (nSelector)
@@ -1681,7 +1681,7 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
//symbols that follow some of these
//records. Foo Data.
- /*In matrices and piles we cannot seperate equation
+ /*In matrices and piles we cannot separate equation
*lines with the newline keyword*/
if (nMatrixCols==0)
newline++;
@@ -1704,13 +1704,13 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
if (xfLMOVE(nTag))
HandleNudge();
nRet = HandlePile(nSetAlign,nLevel,nSelector,nVariation);
- HandleMatrixSeperator(nMatrixRows,nMatrixCols,nCurCol,nCurRow);
+ HandleMatrixSeparator(nMatrixRows,nMatrixCols,nCurCol,nCurRow);
break;
case MATRIX:
if (xfLMOVE(nTag))
HandleNudge();
nRet = HandleMatrix(nLevel,nSelector,nVariation);
- HandleMatrixSeperator(nMatrixRows,nMatrixCols,nCurCol,nCurRow);
+ HandleMatrixSeparator(nMatrixRows,nMatrixCols,nCurCol,nCurRow);
break;
case EMBEL:
if (xfLMOVE(nTag))
@@ -1778,10 +1778,10 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
*with fiddley logic to see if we are in a matrix or a pile or neither
Note we cannot tell until after the event that this is the last entry
- of a pile, so we must strip the last seperator of a pile after this
+ of a pile, so we must strip the last separator of a pile after this
is detected in the PILE handler
*/
-void MathType::HandleMatrixSeperator(int nMatrixRows,int nMatrixCols,
+void MathType::HandleMatrixSeparator(int nMatrixRows,int nMatrixCols,
int &rCurCol,int &rCurRow)
{
if (nMatrixRows!=0)
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index 68ca70cf6291..0d3e298ea66f 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -91,7 +91,7 @@ private:
int HandlePile(int &rSetAlign,int nLevel,sal_uInt8 nSelector,
sal_uInt8 nVariation);
int HandleMatrix(int nLevel,sal_uInt8 nSelector,sal_uInt8 nVariarion);
- void HandleMatrixSeperator(int nMatrixRows,int nMatrixCols,int &rCurCol,
+ void HandleMatrixSeparator(int nMatrixRows,int nMatrixCols,int &rCurCol,
int &rCurRow);
int HandleTemplate(int nLevel,sal_uInt8 &rSelector,sal_uInt8 &rVariation,
xub_StrLen &rLastTemplateBracket);
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 047a414efb96..e0c72822f305 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2550,7 +2550,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
// norm distance from which the following two are calcutated
const int nNormDist = 3 * GetFont().GetSize().Height();
- // define horizontal and vertical minimal distances that seperate
+ // define horizontal and vertical minimal distances that separate
// the elements
long nHorDist = nNormDist * rFormat.GetDistance(DIS_MATRIXCOL) / 100L,
nVerDist = nNormDist * rFormat.GetDistance(DIS_MATRIXROW) / 100L;