diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/security/file_policy.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index b40fb806d4ae..5755defd7739 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -199,12 +199,12 @@ class PolicyReader inline void back( sal_Unicode c ) SAL_THROW( () ) { m_back = c; } - inline bool isWhiteSpace( sal_Unicode c ) SAL_THROW( () ) + inline bool isWhiteSpace( sal_Unicode c ) const SAL_THROW( () ) { return (' ' == c || '\t' == c || '\n' == c || '\r' == c); } void skipWhiteSpace() SAL_THROW( (RuntimeException) ); - inline bool isCharToken( sal_Unicode c ) SAL_THROW( () ) + inline bool isCharToken( sal_Unicode c ) const SAL_THROW( () ) { return (';' == c || ',' == c || '{' == c || '}' == c); } public: |