diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-22 14:08:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-27 11:26:32 +0100 |
commit | 9013dc1650aa8400f63da5f584df9058b1740eb3 (patch) | |
tree | a1ba4f196070459d5d823d942e5a0a121b09ea3d /comphelper/source | |
parent | db97e00893c204226a2eab2d95c9837bce3cddb0 (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 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/graphicmimetype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/graphicmimetype.cxx b/comphelper/source/misc/graphicmimetype.cxx index 0aea5afdde98..acee8ff80de7 100644 --- a/comphelper/source/misc/graphicmimetype.cxx +++ b/comphelper/source/misc/graphicmimetype.cxx @@ -36,7 +36,7 @@ using namespace css::uno; namespace comphelper { -OUString GraphicMimeTypeHelper::GetMimeTypeForExtension(const OString& rExt) +OUString GraphicMimeTypeHelper::GetMimeTypeForExtension(std::string_view rExt) { struct XMLGraphicMimeTypeMapper { |