[Libreoffice-commits] core.git: 2 commits - starmath/inc starmath/source

Takeshi Abe tabe at fixedpoint.jp
Thu Jan 15 00:41:37 PST 2015


 starmath/inc/parse.hxx    |    1 -
 starmath/source/parse.cxx |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 94518fb280075e2dbebd7717618ca0f5557a333a
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Jan 15 17:38:55 2015 +0900

    protected -> private
    
    Change-Id: I199f4cd8897e3fa7b794f3d6d96077e98ccff51e

diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 7b7a8a5..8219407 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -51,7 +51,6 @@ class SmParser : boost::noncopyable
     //! locale where '.' is decimal separator!
     ::com::sun::star::lang::Locale m_aDotLoc;
 
-protected:
 #if OSL_DEBUG_LEVEL > 1
     bool            IsDelimiter( const OUString &rTxt, sal_Int32 nPos );
 #endif
commit f95a3a409a056a0b0bc8e9d56a0c3bff42c72355
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Jan 15 16:39:17 2015 +0900

    no need to compare it with true
    
    Change-Id: I9c825663508abdc7efa9cf2801770acc2b79174a

diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 5215602..31e4962 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1519,7 +1519,7 @@ void SmParser::Term(bool bGroupNumberIdent)
 
                 bool    bIsAttr;
                 sal_uInt16  n = 0;
-                while (true == (bIsAttr = TokenInGroup(TGATTRIBUT))
+                while ( (bIsAttr = TokenInGroup(TGATTRIBUT))
                        ||  TokenInGroup(TGFONTATTR))
                 {   aArray.resize(n + 1);
 


More information about the Libreoffice-commits mailing list