diff options
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 56023adb10cf..f33a942f0ee5 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2255,7 +2255,7 @@ void SmParser::DoSpecial() // add symbol name to list of used symbols const OUString aSymbolName(m_aCurToken.aText.copy(1)); if (!aSymbolName.isEmpty()) - AddToUsedSymbols( aSymbolName ); + m_aUsedSymbols.insert( aSymbolName ); m_aNodeStack.push_front(o3tl::make_unique<SmSpecialNode>(m_aCurToken)); NextToken(); @@ -2301,7 +2301,7 @@ SmParser::SmParser() SmTableNode *SmParser::Parse(const OUString &rBuffer) { - ClearUsedSymbols(); + m_aUsedSymbols.clear(); m_aBufferString = convertLineEnd(rBuffer, LINEEND_LF); m_nBufferIndex = 0; |