summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-22 14:08:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-27 11:26:32 +0100
commit9013dc1650aa8400f63da5f584df9058b1740eb3 (patch)
treea1ba4f196070459d5d823d942e5a0a121b09ea3d /l10ntools
parentdb97e00893c204226a2eab2d95c9837bce3cddb0 (diff)
Simplify loplugin:stringviewparam comparison operator handling
In practice, it works fine to look at all of them, regardless of actual argument types. Change-Id: Ifc49cbcd6003c8837c1b3f81d432c59fb0657bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108366 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/localize.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index 1aa3bab4b6d8..9b1ac7f14308 100644
--- a/l10ntools/source/localize.cxx
+++ b/l10ntools/source/localize.cxx
@@ -260,7 +260,7 @@ void handleFilesOfDir(
handleFile(rProject, elem, rPotDir);
}
-bool includeProject(const OString& rProject) {
+bool includeProject(std::string_view rProject) {
static const char *projects[] = {
"include",
"accessibility",