diff options
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/parse.cxx | 4 | ||||
-rw-r--r-- | starmath/source/rect.cxx | 2 | ||||
-rw-r--r-- | starmath/source/view.cxx | 2 |
3 files changed, 4 insertions, 4 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; diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 550cd242b2cd..63798c6b917f 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -462,7 +462,7 @@ SmRect & SmRect::ExtendBy(const SmRect &rRect, RectCopyMBL eCopyMode) CopyMBL(rRect); break; case RectCopyMBL::None: - ClearBaseline(); + bHasBaseline = false; nAlignM = (nAlignT + nAlignB) / 2; break; case RectCopyMBL::Xor: diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 3bd645a314bf..47f15e602c94 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -379,7 +379,7 @@ void SmGraphicWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rDoc.DrawFormula(rRenderContext, aPoint, true); //! modifies aPoint to be the topleft //! corner of the formula - SetFormulaDrawPos(aPoint); + aFormulaDrawPos = aPoint; if (IsInlineEditEnabled()) { //Draw cursor if any... |