summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathmlimport.cxx')
-rw-r--r--starmath/source/mathmlimport.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 9b0ad7fee205..0d38ec51db5e 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -574,12 +574,6 @@ void SmXMLImport::endDocument(void)
aText = pDocShell->GetText();
pTree->CreateTextFromNode(aText);
aText = comphelper::string::stripEnd(aText, ' ');
- if ((aText.GetChar(0) == '{') &&
- (aText.GetChar(aText.Len()-1) == '}'))
- {
- aText.Erase(0,1);
- aText.Erase(aText.Len()-1,1);
- }
}
pDocShell->SetText( String() );