diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-14 10:03:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-14 11:45:21 +0200 |
commit | 5669ea31ddacf87bab6283dc9de0aeccb761b5cb (patch) | |
tree | a3eb0409c3c20684781cdc71d8a30c5976797830 /starmath/source/parse.cxx | |
parent | 50f024844b1e00249e638df6db029f09465c4c10 (diff) |
loplugin:unusedmethods unused return value in starmath
Change-Id: Ic70c3d727ecadd082f7e5d293fc2b279b1287b8f
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 33499be9186e..ab64bb35e27b 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2414,7 +2414,7 @@ SmNode *SmParser::ParseExpression(const OUString &rBuffer) } -size_t SmParser::AddError(SmParseError Type, SmNode *pNode) +void SmParser::AddError(SmParseError Type, SmNode *pNode) { std::unique_ptr<SmErrorDesc> pErrDesc(new SmErrorDesc); @@ -2445,8 +2445,6 @@ size_t SmParser::AddError(SmParseError Type, SmNode *pNode) pErrDesc->m_aText += SM_RESSTR(nRID); m_aErrDescList.push_back(std::move(pErrDesc)); - - return m_aErrDescList.size()-1; } |