summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-23 17:38:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-23 20:33:17 +0200
commit044eba71e34fd3ac5de20578cc62f85756ad07b4 (patch)
treead3626d1e6cb3ff09ddc24014c26dddd4ab594b2 /sdext
parent732bf455279d1db150c600bb1d2719ddde517480 (diff)
loplugin:stringadd (clang-cl)
Change-Id: I324496ff7c61d87a83b6b378810aa5c78cd7dba3 Reviewed-on: https://gerrit.libreoffice.org/81405 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 60ab775ccda5..388beba4ab3a 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -573,7 +573,7 @@ std::unique_ptr<PDFEntry> 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 += " " + OString(typeid( *(aGrammar.m_aObjectStack[i]) ).name());
+ aTmp += OStringLiteral(" ") + 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