diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 15:26:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-25 08:55:31 +0200 |
commit | c7a50d072f0f9a19e7975c09eeff7a11bdea1370 (patch) | |
tree | fa599d420f2d533ad0c0061f5108a8b425432e9e /framework | |
parent | 3f6bfb4c0d6814c38035e4e1d0c4d5321dd6a5a7 (diff) |
new constantfunction loplugin
Change-Id: Ie9b7a0c41fc4dbd2560ceff6bae9ab85357f518b
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 33ad8dcc8bb4..a1ab63726d03 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -131,7 +131,6 @@ class SubstitutePathVariables_Impl : public utl::ConfigItem virtual void ImplCommit() SAL_OVERRIDE; // Wrapper methods for low-level functions - static OperatingSystem GetOperatingSystem(); const OUString& GetYPDomainName(); const OUString& GetDNSDomainName(); const OUString& GetNTDomainName(); @@ -464,7 +463,7 @@ void SubstitutePathVariables_Impl::ImplCommit() { } -inline OperatingSystem SubstitutePathVariables_Impl::GetOperatingSystem() +static inline OperatingSystem GetOperatingSystem() { #ifdef SOLARIS return OS_SOLARIS; |