diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 09:59:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-14 07:54:02 +0100 |
commit | 2eb0e7594cc875dd0960822d9403b573ac00f739 (patch) | |
tree | 28ae250f91eff446da9dfafee1465be66abba2e5 /stoc/source/security | |
parent | f2193de6c39a783b1111f9825a30cf2c2fa78206 (diff) |
Revert "loplugin:constfields in stoc..svgio"
This reverts commit 0ddf3e0a628599d01356cb5262b93faca073ee9f.
Change-Id: I3e476399a465950defc15ac4d6199a638c4a4baf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90452
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc/source/security')
-rw-r--r-- | stoc/source/security/file_policy.cxx | 2 | ||||
-rw-r--r-- | stoc/source/security/permissions.cxx | 8 | ||||
-rw-r--r-- | stoc/source/security/permissions.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index 97b0496a9c6b..7b70602f982c 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -134,7 +134,7 @@ Sequence< Any > FilePolicy::getDefaultPermissions() class PolicyReader { - OUString const m_fileName; + OUString m_fileName; oslFileHandle m_file; sal_Int32 m_linepos; diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index ed05614bb2a0..86e523e5a9fe 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -109,7 +109,7 @@ class SocketPermission : public Permission mutable OUString m_ip; mutable bool m_resolveErr; mutable bool m_resolvedHost; - bool const m_wildCardHost; + bool m_wildCardHost; inline bool resolveHost() const; @@ -271,10 +271,10 @@ namespace { class FilePermission : public Permission { static char const * s_actions []; - sal_Int32 const m_actions; + sal_Int32 m_actions; OUString m_url; - bool const m_allFiles; + bool m_allFiles; public: FilePermission( @@ -416,7 +416,7 @@ namespace { class RuntimePermission : public Permission { - OUString const m_name; + OUString m_name; public: RuntimePermission( diff --git a/stoc/source/security/permissions.h b/stoc/source/security/permissions.h index 49ee2a53d389..eb0b307787a4 100644 --- a/stoc/source/security/permissions.h +++ b/stoc/source/security/permissions.h @@ -34,7 +34,7 @@ class Permission : public ::salhelper::SimpleReferenceObject public: ::rtl::Reference< Permission > m_next; // mode - enum t_type { ALL, RUNTIME, SOCKET, FILE } const m_type; + enum t_type { ALL, RUNTIME, SOCKET, FILE } m_type; Permission( t_type type, |