From 1250aecd71fabde4dba990bfceb61bbe8e06b8ea Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 28 Jan 2021 20:29:16 +0200 Subject: loplugin:stringviewparam extend to new.. O[U]StringBuffer methods Change-Id: I0ffbc33d54ae7c98b5652434f3370ee4f819f6f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110090 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/global.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc/global.hxx') diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index 6e0836fe8342..f1a3559aa6ad 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -627,7 +627,7 @@ public: @param nSepCount Specifies how often cSep is inserted between two tokens. @param bForceSep true = Always insert separator; false = Only, if not at begin or end. */ SC_DLLPUBLIC static OUString addToken( - const OUString& rTokenList, const OUString& rToken, + const OUString& rTokenList, std::u16string_view rToken, sal_Unicode cSep, sal_Int32 nSepCount = 1, bool bForceSep = false ); -- cgit