summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2020-10-23 15:23:14 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2020-10-23 16:20:20 +0200
commit508daea752c1d9c44474abcee43168fc12657541 (patch)
treefc82e8b070761e395e1dd606243662e9ed590884 /starmath/source
parent5b74b3322fd51cf075eb0c218b3adb786a28b4c9 (diff)
CreateTextFromNode is gone
Change-Id: Ia5786a642a4eea57eef224ace384cb3f9da9fe75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104728 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/cursor.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 90bdf2207327..cdac53d4a234 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -1311,7 +1311,6 @@ void SmCursor::EndEdit(){
//Update the edit engine and text of the document
OUString formula;
SmNodeToTextVisitor(mpTree, formula);
- //mpTree->CreateTextFromNode(formula);
mpDocShell->maText = formula;
mpDocShell->GetEditEngine().QuickInsertText( formula, ESelection( 0, 0, EE_PARA_ALL, EE_TEXTPOS_ALL ) );
mpDocShell->GetEditEngine().QuickFormatDoc();