You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/10/08 17:30:11 UTC
[openoffice] branch AOO41X updated: #i126366 Do not remove outer braces Patch by: Ivan Timofeev resolves error {a+b}over{c+d} --> a+b}over{c+d
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new 4d0df6500a #i126366 Do not remove outer braces Patch by: Ivan Timofeev <ti...@gmail.com> resolves error {a+b}over{c+d} --> a+b}over{c+d
4d0df6500a is described below
commit 4d0df6500a3d04241e018b4c2297a6b4ff86cb1a
Author: Regina Henschel <re...@apache.org>
AuthorDate: Sat Jun 20 12:17:27 2015 +0000
#i126366 Do not remove outer braces
Patch by: Ivan Timofeev <ti...@gmail.com>
resolves error {a+b}over{c+d} --> a+b}over{c+d
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1686597 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 36769aa60b3f033a576a4b625c34b8da35153b85)
---
main/starmath/source/mathmlimport.cxx | 6 ------
1 file changed, 6 deletions(-)
diff --git a/main/starmath/source/mathmlimport.cxx b/main/starmath/source/mathmlimport.cxx
index d0e98782ad..594f8279f8 100644
--- a/main/starmath/source/mathmlimport.cxx
+++ b/main/starmath/source/mathmlimport.cxx
@@ -581,12 +581,6 @@ void SmXMLImport::endDocument(void)
aText = pDocShell->GetText();
pTree->CreateTextFromNode(aText);
aText.EraseTrailingChars();
- if ((aText.GetChar(0) == '{') &&
- (aText.GetChar(aText.Len()-1) == '}'))
- {
- aText.Erase(0,1);
- aText.Erase(aText.Len()-1,1);
- }
}
pDocShell->SetText( String() );