diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:17:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 12:02:13 +0000 |
commit | 849779db912cc97ef2c247d64aefd2069a3f9b0c (patch) | |
tree | 1313327e4f52ecccdb64d276536287b9256f49f0 /stoc | |
parent | cppcheck: methods can be const (diff) | |
download | core-849779db912cc97ef2c247d64aefd2069a3f9b0c.tar.gz core-849779db912cc97ef2c247d64aefd2069a3f9b0c.zip |
remove empty method
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: |