From 8332d6d8200e8ca1f22dd98d9373efd5a431d09c Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 25 Nov 2020 08:14:07 +0200 Subject: loplugin:stringviewparam include comparisons with string literals Change-Id: I8ba1214500dddaf413c506a4b82f43d63cda804b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106559 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/oox/drawingml/color.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/oox/drawingml') diff --git a/include/oox/drawingml/color.hxx b/include/oox/drawingml/color.hxx index 5642b4000fc5..59f417cfac52 100644 --- a/include/oox/drawingml/color.hxx +++ b/include/oox/drawingml/color.hxx @@ -104,7 +104,7 @@ public: /** Translates between color transformation tokens and their names */ static OUString getColorTransformationName( sal_Int32 nElement ); /** Translates between color transformation token names and the corresponding token */ - static sal_Int32 getColorTransformationToken( const OUString& sName ); + static sal_Int32 getColorTransformationToken( std::u16string_view sName ); /// Compares this color with rOther. bool equals(const Color& rOther, const GraphicHelper& rGraphicHelper, ::Color nPhClr) const; -- cgit v1.2.3