diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-27 16:47:07 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-27 17:28:09 +0200 |
commit | 2d422d868a717adf735ef45a6bf5e4af0efb1a0c (patch) | |
tree | 3c06698fc3300561e9b65579a134238f6b697f57 /starmath | |
parent | dba6b5151e26ea0bc88f8d30a70859fcbbd2e81f (diff) |
SmOoxmlImport::handleR: escape brackets in math runs
Also remove the previous escaping that took care of RTF only.
Change-Id: Ie9a019912f83a3f56ef52429855cd72cf2c8f463
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/ooxmlimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index 0ca2d0573a77..12e20a6f2ac0 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -597,7 +597,7 @@ OUString SmOoxmlImport::handleR() } } stream.ensureClosingTag( M_TOKEN( r )); - return text; + return text.replaceAll("{", "\\{").replaceAll("}", "\\}"); } OUString SmOoxmlImport::handleRad() |