summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 11:07:36 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:12 +0200
commitee094bd46f55118993c72af719dc046476f9f311 (patch)
treed4658be34517150ec7881e7929e38f533ff0b393 /shell
parent26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff)
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'shell')
-rw-r--r--shell/source/tools/lngconvex/cmdline.cxx2
-rw-r--r--shell/source/tools/lngconvex/cmdline.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/tools/lngconvex/cmdline.cxx b/shell/source/tools/lngconvex/cmdline.cxx
index ba6bed4c3140..ae7c82d883d8 100644
--- a/shell/source/tools/lngconvex/cmdline.cxx
+++ b/shell/source/tools/lngconvex/cmdline.cxx
@@ -82,7 +82,7 @@ std::string CommandLine::get_arg(const std::string& ArgumentName) const
/** Returns whether a given argument is an argument name
*/
-bool CommandLine::is_arg_name(const std::string& Argument) const
+bool CommandLine::is_arg_name(const std::string& Argument)
{
return (Argument.length() > 0 && Argument[0] == '-');
}
diff --git a/shell/source/tools/lngconvex/cmdline.hxx b/shell/source/tools/lngconvex/cmdline.hxx
index 99fc7b2d7e03..cd1b2f3d1bd7 100644
--- a/shell/source/tools/lngconvex/cmdline.hxx
+++ b/shell/source/tools/lngconvex/cmdline.hxx
@@ -66,7 +66,7 @@ private:
/** Returns whether a given argument is an argument name
*/
- bool is_arg_name(const std::string& Argument) const;
+ static bool is_arg_name(const std::string& Argument);
private:
size_t m_argc;