From ee094bd46f55118993c72af719dc046476f9f311 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 10 Apr 2015 11:07:36 +0200 Subject: loplugin:staticmethods Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a --- shell/source/tools/lngconvex/cmdline.cxx | 2 +- shell/source/tools/lngconvex/cmdline.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') 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; -- cgit