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 --- sax/source/fastparser/fastparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax/source') diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 6bfa1ce0e205..e225f17a1621 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -574,7 +574,7 @@ Event& Entity::getEvent( CallbackType aType ) return rEvent; } -OUString lclGetErrorMessage( xmlParserCtxtPtr ctxt, const OUString& sSystemId, sal_Int32 nLine ) +OUString lclGetErrorMessage( xmlParserCtxtPtr ctxt, std::u16string_view sSystemId, sal_Int32 nLine ) { const char* pMessage; xmlErrorPtr error = xmlCtxtGetLastError( ctxt ); -- cgit