loplugin:stringview whitelist getLength and isEmpty

Change-Id: I38f3410c0b25ff579879b9de1f266af4d8fd51e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150256
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2023-04-12 12:57:22 +02:00
parent 08495e24e8
commit c45bc08dc6
19 changed files with 46 additions and 48 deletions
@@ -291,7 +291,7 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte
pCurrentVectorIndex.reset();
aIndexFolderResultVectorVector.clear();
sal_Int32 replIdx = OUString( "#HLP#" ).getLength();
sal_Int32 replIdx = strlen( "#HLP#" );
OUString replWith = "vnd.sun.star.help://";
int nResultCount = aCompleteResultVector.size();