starmath/source/parse.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cd6ec105eb154b5f839b1ed27d30f3ee52ae0e6d
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Sat Apr 16 19:24:37 2016 +0900

    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 <c...@libreoffice.org>
    Reviewed-by: Takeshi Abe <t...@fixedpoint.jp>

diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 9b3a785..b998f25 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 =
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to