[Libreoffice-commits] core.git: Branch 'aoo/trunk' - starmath/source
Regina Henschel
regina at apache.org
Sat Jun 20 07:08:25 PDT 2015
starmath/source/mathmlimport.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit a80742fbeb4042bcd4c1534ba527e989fd82dfcb
Author: Regina Henschel <regina at apache.org>
Date: Sat Jun 20 12:17:27 2015 +0000
#i126366 Do not remove outer braces
Patch by: Ivan Timofeev <timofeev.i.s at gmail.com>
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
More information about the Libreoffice-commits
mailing list