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

New commits:
commit ffe2e46470b3132348ad4cb24456ca9a684f30ec
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Mar 21 18:10:04 2016 +0100

    loplugin:staticmethods
    
    Change-Id: Id40b00234f78afc238d6b3af1283e0429587ee49

diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 3ae3f66..130fbd7 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -53,7 +53,6 @@ class SmParser
     SmParser(const SmParser&) = delete;
     SmParser& operator=(const SmParser&) = delete;
 
-    bool            IsDelimiter( const OUString &rTxt, sal_Int32 nPos );
     void            NextToken();
     sal_Int32       GetTokenIndex() const   { return m_nTokenIndex; }
     void            Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString 
&rText );
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 1540599..6544cc4 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -310,9 +310,9 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( 
const OUString &rName )
     return pRes;
 }
 
+namespace {
 
-
-static const sal_Unicode aDelimiterTable[] =
+const sal_Unicode aDelimiterTable[] =
 {
     ' ',    '\t',   '\n',   '\r',   '+',    '-',    '*',    '/',    '=',    
'#',
     '%',    '\\',   '"',    '~',    '`',    '>',    '<',    '&',    '|',    
'(',
@@ -320,7 +320,7 @@ static const sal_Unicode aDelimiterTable[] =
     '\0'    // end of list symbol
 };
 
-bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
+bool IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
     // returns 'true' iff cChar is '\0' or a delimiter
 {
     assert(nPos <= rTxt.getLength()); //index out of range
@@ -345,6 +345,7 @@ bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 
nPos )
     return bIsDelim;
 }
 
+}
 
 void SmParser::Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText )
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to