diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-04 10:16:38 +0100 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-04 17:11:57 +0100 |
commit | e3ea88c6db5facde01ad0c46d8f9393c4db08c5c (patch) | |
tree | 591458fb88e9b09ea7fb196e2ea2e0cb6a74b92b /starmath/source/parse.cxx | |
parent | e1d7242341ec148b631a96e6d63697bce6a497c9 (diff) |
Fix typo in code
Here it passed "make build-nocheck" on Linux
Change-Id: I1f6ea440e54f87a90abb1b6e9983443764516e06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110373
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Dante DM <dante19031999@gmail.com>
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 340bc465828b..5bb152f68607 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1773,7 +1773,7 @@ std::unique_ptr<SmNode> SmParser::DoTerm(bool bGroupNumberIdent) bIsAttr = TokenInGroup(TG::Attribute); if (!bIsAttr && !TokenInGroup(TG::FontAttr)) break; - aStack.push(bIsAttr ? DoAttribut() : DoFontAttribut()); + aStack.push(bIsAttr ? DoAttribute() : DoFontAttribute()); } auto xFirstNode = DoPower(); @@ -2002,7 +2002,7 @@ std::unique_ptr<SmStructureNode> SmParser::DoUnOper() return xSNode; } -std::unique_ptr<SmStructureNode> SmParser::DoAttribut() +std::unique_ptr<SmStructureNode> SmParser::DoAttribute() { DepthProtect aDepthGuard(m_nParseDepth); if (aDepthGuard.TooDeep()) @@ -2010,7 +2010,7 @@ std::unique_ptr<SmStructureNode> SmParser::DoAttribut() assert(TokenInGroup(TG::Attribute)); - auto xSNode = std::make_unique<SmAttributNode>(m_aCurToken); + auto xSNode = std::make_unique<SmAttributeNode>(m_aCurToken); std::unique_ptr<SmNode> xAttr; SmScaleMode eScaleMode = SmScaleMode::None; @@ -2042,7 +2042,7 @@ std::unique_ptr<SmStructureNode> SmParser::DoAttribut() return xSNode; } -std::unique_ptr<SmStructureNode> SmParser::DoFontAttribut() +std::unique_ptr<SmStructureNode> SmParser::DoFontAttribute() { DepthProtect aDepthGuard(m_nParseDepth); if (aDepthGuard.TooDeep()) |