summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /starmath
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/cursor.cxx2
-rw-r--r--starmath/source/document.cxx2
-rw-r--r--starmath/source/mathtype.cxx4
-rw-r--r--starmath/source/node.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 4aa4ed11ff13..c4f7c304c685 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -1256,7 +1256,7 @@ SmNode* SmCursor::FindTopMostNodeInLine(SmNode* pSNode, bool MoveUpIfSelected){
if(!pSNode)
return NULL;
- //Move up parent untill we find a node who's
+ //Move up parent until we find a node who's
//parent is NULL or isn't selected and not a type of:
// SmExpressionNode
// SmLineNode
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index d62d5acec7c8..7d258e94b399 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -277,7 +277,7 @@ void SmDocShell::ArrangeFormula()
#endif
}
- // if neccessary get another OutputDevice for which we format
+ // if necessary get another OutputDevice for which we format
if (!pOutDev)
{
SmViewShell *pView = SmGetActiveView();
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 2aa85599f99b..5369d2f60df4 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2065,7 +2065,7 @@ int MathType::StartTemplate(sal_uInt16 nSelector,sal_uInt16 nVariation)
//theres just no way we can now handle any character
//attributes (from mathtypes perspective) centered
//over an expression but above template attribute
- //such as widevec and similiar constructs
+ //such as widevec and similar constructs
//we have to drop them
nPendingAttributes=0;
return nOldPending;
@@ -3189,7 +3189,7 @@ void MathType::HandleAttributes(SmNode *pNode,int nLevel)
//theres just no way we can now handle any character
//attributes (from mathtypes perspective) centered
//over an expression but above template attributes
- //such as widevec and similiar constructs
+ //such as widevec and similar constructs
//we have to drop them
nOldPending = StartTemplate(0x2f,0x01);
break;
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 3e0ddb208246..37c7a9935e01 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -1080,7 +1080,7 @@ void SmRootNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat)
pRootSym->Arrange(rDev, rFormat);
Point aPos = pRootSym->AlignTo(*pBody, RP_LEFT, RHA_CENTER, RVA_BASELINE);
- //! overrride calulated vertical position
+ //! overrride calculated vertical position
aPos.Y() = pRootSym->GetTop() + pBody->GetBottom() - pRootSym->GetBottom();
aPos.Y() -= nVerOffset;
pRootSym->MoveTo(aPos);