starmath/source/mathmlimport.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit a80742fbeb4042bcd4c1534ba527e989fd82dfcb Author: Regina Henschel <[email protected]> Date: Sat Jun 20 12:17:27 2015 +0000 #i126366 Do not remove outer braces Patch by: Ivan Timofeev <[email protected]> resolves error {a+b}over{c+d} --> a+b}over{c+d diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 41be3f4..ddb2597 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -580,12 +580,6 @@ void SmXMLImport::endDocument(void) // Get text from imported formula pTree->CreateTextFromNode(aText); aText.EraseTrailingChars(); - if ((aText.GetChar(0) == '{') && - (aText.GetChar(aText.Len()-1) == '}')) - { - aText.Erase(0,1); - aText.Erase(aText.Len()-1,1); - } } // Convert symbol names _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
