diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 14:01:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-02 16:49:48 +0200 |
commit | 4c0454eadbcf2a47010faa7777d2e52f67e44891 (patch) | |
tree | 0dbd8ad9c0e27a5e1b5587c44484f502563e28b1 /starmath | |
parent | 2f3e2137dd3240a63d89278771c06fda6a7b1f47 (diff) |
-Werror,-Wunused-const-variable
Change-Id: Ic37531aa2fe9b0098cf8b027275d314607208154
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 78abe819aa07..2302087900bb 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -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 { |