From 8ef6067596cf4b2c52fbce94b44bf7af9fefa643 Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 13 Nov 2020 14:29:59 +0200 Subject: loplugin:stringviewparam check methods too not just functions Change-Id: Icca295dd159002b428b73f2c95d40725434f04d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105789 Tested-by: Jenkins Reviewed-by: Noel Grandin --- idl/source/prj/database.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idl/source/prj/database.cxx') diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 7613e0a59c6d..37bf552c76e2 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -483,7 +483,7 @@ bool SvIdlWorkingBase::WriteSfx( SvStream & rOutStm ) return true; } -void SvIdlDataBase::StartNewFile( const OUString& rName ) +void SvIdlDataBase::StartNewFile( std::u16string_view rName ) { bExport = aExportFile.equalsIgnoreAsciiCase( rName ); assert ( !bExport ); -- cgit