Author: regina Date: Sat Jun 20 12:17:27 2015 New Revision: 1686597 URL: http://svn.apache.org/r1686597 Log: #i126366 Do not remove outer braces Patch by: Ivan Timofeev <timofeev....@gmail.com> resolves error {a+b}over{c+d} --> a+b}over{c+d
Modified: openoffice/trunk/main/starmath/source/mathmlimport.cxx Modified: openoffice/trunk/main/starmath/source/mathmlimport.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/starmath/source/mathmlimport.cxx?rev=1686597&r1=1686596&r2=1686597&view=diff ============================================================================== --- openoffice/trunk/main/starmath/source/mathmlimport.cxx (original) +++ openoffice/trunk/main/starmath/source/mathmlimport.cxx Sat Jun 20 12:17:27 2015 @@ -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