From 3260edbeb59d87f3f3e5c700cda4b0fd6222df0c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 27 Apr 2021 08:44:09 +0200 Subject: loplugin:stringadd (clang-cl) Change-Id: Id7c2db4abcf947c4efa0296df29feca2c36d3cf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sdext/source/pdfimport/pdfparse/pdfparse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext/source') diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index ef0bfaea65f4..b2ffe23f06eb 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -581,7 +581,7 @@ std::unique_ptr PDFReader::read( const char* pBuffer, unsigned int nLe OString aTmp; unsigned int nElem = aGrammar.m_aObjectStack.size(); for( unsigned int i = 0; i < nElem; i++ ) - aTmp += OStringLiteral(" ") + typeid( *(aGrammar.m_aObjectStack[i]) ).name(); + aTmp += OString::Concat(" ") + typeid( *(aGrammar.m_aObjectStack[i]) ).name(); SAL_WARN("sdext.pdfimport.pdfparse", "parse error: " << rError.descriptor << " at buffer pos " << rError.where - pBuffer << ", object stack: " << aTmp); #else -- cgit