From 39c3574b799690d4405d9318a5ba221b5feaccbe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Apr 2021 18:08:53 +0200 Subject: use string_view in INetURLObject::encode Change-Id: Ib686c6872388b02c8939d3b65f6bd25cda348bc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114754 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/app/dispatchwatcher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index bde83bcd22d4..9dea7779405a 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -255,7 +255,7 @@ void batchPrint( const OUString &rPrinterName, const Reference< XPrintable > &xD aPrinterName=rPrinterName.copy( 0, nPathIndex ); INetURLObject aOutFilename( aObj ); - aOutFilename.SetExtension( "pdf" ); + aOutFilename.SetExtension( u"pdf" ); FileBase::getFileURLFromSystemPath( aFilterOut, aFilterOut ); OUString aOutFile = aFilterOut + "/" + aOutFilename.getName(); -- cgit