Kaydet (Commit) 4c0454ea authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-const-variable

Change-Id: Ic37531aa2fe9b0098cf8b027275d314607208154
üst 2f3e2137
......@@ -50,14 +50,6 @@ T* lcl_popOrZero( ::std::stack<T*> & rStack )
}
}
static const sal_Unicode aDelimiterTable[] =
{
' ', '\t', '\n', '\r', '+', '-', '*', '/', '=', '#',
'%', '\\', '"', '~', '`', '>', '<', '&', '|', '(',
')', '{', '}', '[', ']', '^', '_',
'\0' // end of list symbol
};
SmToken::SmToken() :
eType (TUNKNOWN),
cMathChar ('\0')
......@@ -325,6 +317,14 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const OUString &rName )
#if OSL_DEBUG_LEVEL > 1
static const sal_Unicode aDelimiterTable[] =
{
' ', '\t', '\n', '\r', '+', '-', '*', '/', '=', '#',
'%', '\\', '"', '~', '`', '>', '<', '&', '|', '(',
')', '{', '}', '[', ']', '^', '_',
'\0' // end of list symbol
};
bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
// returns 'true' iff cChar is '\0' or a delimeter
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment