summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-04-05 21:07:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 07:53:19 +0000
commit7d4b68fa47b2e670dcab7be335d38be690db2a73 (patch)
treea6dd8a88ce8c59586bf5024065b3206c424a1a0e /starmath
parent7662e92c64ec194a2089f633a363d9dc45a4aa9d (diff)
Fix typos
Change-Id: I9e7f7fa6a8b89304883a843f9fb0b905f5e8a8a4 Reviewed-on: https://gerrit.libreoffice.org/36100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/qa/cppunit/test_parse.cxx2
-rw-r--r--starmath/source/parse.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/qa/cppunit/test_parse.cxx b/starmath/qa/cppunit/test_parse.cxx
index 4e7198e5db0e..12d21c240e0f 100644
--- a/starmath/qa/cppunit/test_parse.cxx
+++ b/starmath/qa/cppunit/test_parse.cxx
@@ -94,7 +94,7 @@ void ParseTest::testMinus()
/*
* This shows that "nospace" turns off the expression's IsUseExtraSpaces(),
- * but leaves its decendants' flag on.
+ * but leaves its descendants' flag on.
*/
void ParseTest::testNospace()
{
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 6ae84de21c3e..7c69af937df6 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1261,7 +1261,7 @@ SmNode *SmParser::DoTerm(bool bGroupNumberIdent)
if (bNoSpace)
NextToken();
if (m_aCurToken.eType != TLGROUP)
- return DoTerm(false); // nospace is no loger concerned
+ return DoTerm(false); // nospace is no longer concerned
NextToken();