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

Takeshi Abe tabe at fixedpoint.jp
Tue Dec 16 01:46:48 PST 2014


 starmath/inc/parse.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2e0c474ab53325445c6dbac9aaeeafe5bb596e3f
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Dec 16 18:44:10 2014 +0900

    Omit unused default value
    
    Change-Id: I2b703312ddff29772b31cf74ab6408dbbe90a5db

diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index c61bf42..7b7a8a5 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -119,7 +119,7 @@ public:
     size_t      AddError(SmParseError Type, SmNode *pNode);
     const SmErrorDesc*  NextError();
     const SmErrorDesc*  PrevError();
-    const SmErrorDesc*  GetError(size_t i = size_t(-1) );
+    const SmErrorDesc*  GetError(size_t i);
     static const SmTokenTableEntry* GetTokenTableEntry( const OUString &rName );
     bool    IsUsedSymbol( const OUString &rSymbolName ) const { return m_aUsedSymbols.find( rSymbolName ) != m_aUsedSymbols.end(); }
     std::set< OUString >   GetUsedSymbols() const      { return m_aUsedSymbols; }


More information about the Libreoffice-commits mailing list