diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /stoc/source/security | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'stoc/source/security')
-rw-r--r-- | stoc/source/security/access_controller.cxx | 2 | ||||
-rw-r--r-- | stoc/source/security/file_policy.cxx | 6 | ||||
-rw-r--r-- | stoc/source/security/permissions.cxx | 2 | ||||
-rw-r--r-- | stoc/source/security/permissions.h | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx index f1714aa97fd3..813daffa1f46 100644 --- a/stoc/source/security/access_controller.cxx +++ b/stoc/source/security/access_controller.cxx @@ -267,7 +267,7 @@ class cc_reset public: explicit cc_reset( void * cc ) : m_cc( cc ) {} - inline ~cc_reset() + ~cc_reset() { ::uno_setCurrentContext( m_cc, s_envType.pData, nullptr ); } }; diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index 8a388fedc2e4..31bdcdbcc7c1 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -145,14 +145,14 @@ class PolicyReader sal_Unicode m_back; sal_Unicode get(); - inline void back( sal_Unicode c ) + void back( sal_Unicode c ) { m_back = c; } - static inline bool isWhiteSpace( sal_Unicode c ) + static bool isWhiteSpace( sal_Unicode c ) { return (' ' == c || '\t' == c || '\n' == c || '\r' == c); } void skipWhiteSpace(); - static inline bool isCharToken( sal_Unicode c ) + static bool isCharToken( sal_Unicode c ) { return (';' == c || ',' == c || '{' == c || '}' == c); } public: diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index 8fc189ffd3d4..3ae049c7fead 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -420,7 +420,7 @@ class RuntimePermission : public Permission OUString m_name; public: - inline RuntimePermission( + RuntimePermission( security::RuntimePermission const & perm, ::rtl::Reference< Permission > const & next = ::rtl::Reference< Permission >() ) : Permission( RUNTIME, next ) diff --git a/stoc/source/security/permissions.h b/stoc/source/security/permissions.h index 582244e6dabd..6e9fe7937932 100644 --- a/stoc/source/security/permissions.h +++ b/stoc/source/security/permissions.h @@ -37,7 +37,7 @@ public: // mode enum t_type { ALL, RUNTIME, SOCKET, FILE } m_type; - inline Permission( + Permission( t_type type, ::rtl::Reference< Permission > const & next ) : m_next( next ) @@ -65,9 +65,9 @@ class PermissionCollection { ::rtl::Reference< Permission > m_head; public: - inline PermissionCollection() + PermissionCollection() {} - inline PermissionCollection( PermissionCollection const & collection ) + PermissionCollection( PermissionCollection const & collection ) : m_head( collection.m_head ) {} explicit PermissionCollection( ::rtl::Reference< Permission > const & single ) |