diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-09-06 17:59:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-09-06 18:00:57 +0200 |
commit | 982b7cb498c3ea1106c5d2184f84989d99b1d942 (patch) | |
tree | e12ebe2342d2dc025bd4b5b7d818335c71e6447e | |
parent | cf0dd7b95d699264934ef1234ad8d1bc227974f9 (diff) |
actually use startsWith(), now that it really exists
Change-Id: I0f1557f480e9d20d4ead359ad0eaa75db9b8f9db
-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 12e20a6f2ac0..50b06e022fe5 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -416,7 +416,7 @@ OUString SmOoxmlImport::handleFunc() stream.ensureOpeningTag( M_TOKEN( func )); OUString fname = readOMathArgInElement( M_TOKEN( fName )); // fix the various functions - if( fname.match( "lim csub {", 0 )) // startsWith() + if( fname.startsWith( "lim csub {" )) fname = "lim from {" + fname.copy( 10 ); OUString ret = fname + " {" + readOMathArgInElement( M_TOKEN( e )) + "}"; stream.ensureClosingTag( M_TOKEN( func )); |