summaryrefslogtreecommitdiff
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-09-06 13:56:18 +0900
committerCaolán McNamara <caolanm@redhat.com>2016-09-06 07:32:24 +0000
commitc966bac490bb161cb2f5ede962a6e3e7f002e178 (patch)
tree14de4cb532fe006815951e7a04da44ee71c2b362 /starmath/source/parse.cxx
parent9f0827d5824f1418bd3e26bb3ac9458179898e9c (diff)
starmath: Drop unused 1st argument of SmErrorNode's ctor
Change-Id: I01d8fa4bcfbfd4757230ff54902967f709216111 Reviewed-on: https://gerrit.libreoffice.org/28678 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 7a6c99551e68..1a441e0e9759 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -2287,7 +2287,7 @@ void SmParser::DoGlyphSpecial()
void SmParser::Error(SmParseError eError)
{
SmStructureNode *pSNode = new SmExpressionNode(m_aCurToken);
- SmErrorNode *pErr = new SmErrorNode(eError, m_aCurToken);
+ SmErrorNode *pErr = new SmErrorNode(m_aCurToken);
pSNode->SetSubNodes(pErr, nullptr);
//! put a structure node on the stack (instead of the error node itself)