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 <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel
2021-01-29 09:25:12 +01:00
committed by Noel Grandin
parent 4f3987e0b1
commit 1250aecd71
127 changed files with 404 additions and 352 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
namespace codemaker::java {
OString translateUnoToJavaType(
codemaker::UnoType::Sort sort, OString const & nucleus, bool referenceType)
codemaker::UnoType::Sort sort, std::string_view nucleus, bool referenceType)
{
OStringBuffer buf(128);
if (sort <= codemaker::UnoType::Sort::Any) {