diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-04-16 19:24:37 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-04-22 01:36:41 +0000 |
commit | cd6ec105eb154b5f839b1ed27d30f3ee52ae0e6d (patch) | |
tree | 96fc0f71c1341e5cfeb55e0bee63fb2f42741e86 /starmath | |
parent | 20f23c1a2838f0dc3c8ff37bf90b9ebe1d278772 (diff) |
starmath: Make coUserDefinedCharContFlags more readable
No bits changed because:
((KParseTokens::ANY_LETTER_OR_NUMBER | KParseTokens::IGNORE_LEADING_WS | KParseTokens::ASC_DOT)
& ~KParseTokens::IGNORE_LEADING_WS)
== KParseTokens::ANY_LETTER_OR_NUMBER | KParseTokens::ASC_DOT
Change-Id: I1e00d0cdb07a1450f98655ec3cc8483e4d348b74
Reviewed-on: https://gerrit.libreoffice.org/24122
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 9b3a7859510a..b998f255bc10 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -370,9 +370,9 @@ void SmParser::NextToken() // user-defined char continuing characters may be any alphanumeric or dot. static const sal_Int32 coUserDefinedCharContFlags = - ((KParseTokens::ANY_LETTER_OR_NUMBER | KParseTokens::IGNORE_LEADING_WS | KParseTokens::ASC_DOT) - & ~KParseTokens::IGNORE_LEADING_WS) - | KParseTokens::TWO_DOUBLE_QUOTES_BREAK_STRING; + KParseTokens::ANY_LETTER_OR_NUMBER | + KParseTokens::ASC_DOT | + KParseTokens::TWO_DOUBLE_QUOTES_BREAK_STRING; // First character for numbers, may be any numeric or dot static const sal_Int32 coNumStartFlags = |