summaryrefslogtreecommitdiff
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index b5e37655e42b..9b8fc8da2f72 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -2295,7 +2295,7 @@ void SmParser::Special()
// conversion of symbol names for 6.0 (XML) file format
// (name change on import / export.
// UI uses localized names XML file format does not.)
- if (!rName.isEmpty() && rName[0] == '%')
+ if( rName.startsWith("%") )
{
if (IsImportSymbolNames())
{