From cb6d67c21f11811c5bc023b9565c1c1b1f4081fa Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 15 May 2013 10:42:04 +0300 Subject: Spelling "separate" (etc) correctly is hard --- starmath/inc/parse.hxx | 2 +- starmath/inc/toolbox.hxx | 2 +- starmath/inc/visitors.hxx | 2 +- starmath/source/mathmlexport.cxx | 2 +- starmath/source/mathtype.cxx | 12 ++++++------ starmath/source/mathtype.hxx | 2 +- starmath/source/node.cxx | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index f4118032dc41..a1bd731befb9 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -199,7 +199,7 @@ class SmParser // map of used symbols (used to reduce file size by exporting only actually used symbols) std::set< OUString > m_aUsedSymbols; - //! locale where '.' is decimal seperator! + //! locale where '.' is decimal separator! ::com::sun::star::lang::Locale m_aDotLoc; // declare copy-constructor and assignment-operator private diff --git a/starmath/inc/toolbox.hxx b/starmath/inc/toolbox.hxx index a96010956f55..3f7434fac8c6 100644 --- a/starmath/inc/toolbox.hxx +++ b/starmath/inc/toolbox.hxx @@ -33,7 +33,7 @@ class SmToolBoxWindow : public SfxFloatingWindow protected: ToolBox aToolBoxCat; - FixedLine aToolBoxCat_Delim; // to visualy seperate the catalog part + FixedLine aToolBoxCat_Delim; // to visualy separate the catalog part ToolBox *pToolBoxCmd; ToolBox *vToolBoxCategories[NUM_TBX_CATEGORIES]; ImageList *aImageLists [NUM_TBX_CATEGORIES + 1]; /* regular */ diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index fe1625fc8c04..d864c458cff6 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -272,7 +272,7 @@ public: private: /** Visit a selectable pNode * Can be used to handle pNodes that can be selected, that doesn't have more SmCaretPos' - * than 0 and 1 inside them. SmTextNode should be handle seperately! + * than 0 and 1 inside them. SmTextNode should be handle separately! * Also note that pNodes such as SmBinVerNode cannot be selected, don't this method for * it. */ 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; -- cgit