summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-11 08:52:49 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:32:59 +0200
commitfa1f7d27c11214b836e436b5c8cad63f3097c7ed (patch)
treef8d6ca3fee4f547a2802c53dda8aab7dabd544f6 /starmath
parent07c60c8ee2d1465544a6a39e57bc06b3690b8dfb (diff)
typo: attribut -> attribute
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/mathmlexport.cxx4
-rw-r--r--starmath/source/node.cxx2
-rw-r--r--starmath/source/parse.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index cc22063da05d..919aff84ae53 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1875,7 +1875,7 @@ IMPL_LINK( SmSymDefineDialog, ChangeClickHdl, Button *, EMPTYARG pButton )
// get new Sybol to use
//! get font from symbol-disp lay since charset-display does not keep
- //! the bold attribut.
+ //! the bold attribute.
const SmSym aNewSymbol( pSymbols->GetText(), pCharsetDisplay->GetFont(),
pCharsetDisplay->GetSelectCharacter(), pSymbolSets->GetText() );
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index a24b3fc33b74..eabb6607bc07 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -1277,7 +1277,7 @@ static bool lcl_HasEffectOnMathvariant( const SmTokenType eType )
void SmXMLExport::ExportFont(const SmNode *pNode, int nLevel)
{
- // gather the mathvariant attribut relevant data from all
+ // gather the mathvariant attribute relevant data from all
// successively following SmFontNodes...
int nBold = -1; // for the following variables: -1 = yet undefined; 0 = false; 1 = true;
@@ -1480,7 +1480,7 @@ void SmXMLExport::ExportVerticalBrace(const SmNode *pNode, int nLevel)
{//Scoping
// using accents will draw the over-/underbraces too close to the base
// see http://www.w3.org/TR/MathML2/chapter3.html#id.3.4.5.2
- // also XML_ACCENT is illegal with XML_MUNDER. Thus no XML_ACCENT attribut here!
+ // also XML_ACCENT is illegal with XML_MUNDER. Thus no XML_ACCENT attribute here!
SvXMLElementExport aOver2(*this, XML_NAMESPACE_MATH,which, true, true);
ExportNodes(pNode->GetSubNode(0), nLevel);
AddAttribute(XML_NAMESPACE_MATH, XML_STRETCHY, XML_TRUE);
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 4e0f561113ab..5b5baab9f462 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2396,7 +2396,7 @@ void SmRectangleNode::Arrange(const OutputDevice &rDev, const SmFormat &/*rForma
nHeight += 2 * nTmpBorderWidth;
//! use this method in order to have 'SmRect::HasAlignInfo() == true'
- //! and thus having the attribut-fences updated in 'SmRect::ExtendBy'
+ //! and thus having the attribute-fences updated in 'SmRect::ExtendBy'
SmRect::operator = (SmRect(nWidth, nHeight));
}
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 4703a973a968..a05f8a052405 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1779,7 +1779,7 @@ void SmParser::Attribut()
SmNode *pAttr;
SmScaleMode eScaleMode = SCALE_NONE;
- // get appropriate node for the attribut itself
+ // get appropriate node for the attribute itself
switch (m_aCurToken.eType)
{ case TUNDERLINE :
case TOVERLINE :