summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorArnold Dumas <arnold@dumas.at>2016-02-22 21:37:52 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-22 20:51:30 +0000
commit76b7803fde43c994bb7ad2e37e2e4f27b1470f06 (patch)
treedeb89e9d1401a187980df52568655405961036c4 /sdext
parente565d346fc949782703bdefa4d3ce8777b7940a9 (diff)
sdext: remove \n from SAL_WARN/INFO[_IF] macros
Change-Id: I07f33f6781c2b03ccbe690e70b77310e875eeef0 Reviewed-on: https://gerrit.libreoffice.org/22624 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/filterdet.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx
index 2e2a3508e250..a1016de0f8ec 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -206,7 +206,7 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< beans::PropertyValue >& rF
{
OUString aVal( "<no string>" );
pAttribs[i].Value >>= aVal;
- SAL_INFO( "sdext.pdfimport", "doDetection: Attrib: " + pAttribs[i].Name + " = " + aVal + "\n");
+ SAL_INFO( "sdext.pdfimport", "doDetection: Attrib: " + pAttribs[i].Name + " = " + aVal);
if ( pAttribs[i].Name == "InputStream" )
pAttribs[i].Value >>= xInput;
@@ -261,7 +261,7 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< beans::PropertyValue >& rF
}
else
{
- SAL_INFO( "sdext.pdfimport", "created temp file " + aURL + "\n" );
+ SAL_INFO( "sdext.pdfimport", "created temp file " + aURL );
osl_writeFile( aFile, aBuf.getConstArray(), nBytes, &nWritten );
@@ -551,13 +551,13 @@ uno::Reference< io::XStream > getAdditionalStream( const OUString&
pdfparse::PDFName* pMimeType = dynamic_cast<pdfparse::PDFName*>(pStreams->m_aSubElements[0]);
pdfparse::PDFObjectRef* pStreamRef = dynamic_cast<pdfparse::PDFObjectRef*>(pStreams->m_aSubElements[1]);
- SAL_WARN_IF( !pMimeType, "sdext.pdfimport", "error: no mimetype element\n" );
- SAL_WARN_IF( !pStreamRef, "sdext.pdfimport", "error: no stream ref element\n" );
+ SAL_WARN_IF( !pMimeType, "sdext.pdfimport", "error: no mimetype element" );
+ SAL_WARN_IF( !pStreamRef, "sdext.pdfimport", "error: no stream ref element" );
if( pMimeType && pStreamRef )
{
pdfparse::PDFObject* pObject = pPDFFile->findObject( pStreamRef->m_nNumber, pStreamRef->m_nGeneration );
- SAL_WARN_IF( !pObject, "sdext.pdfimport", "object not found\n" );
+ SAL_WARN_IF( !pObject, "sdext.pdfimport", "object not found" );
if( pObject )
{
if( pPDFFile->isEncrypted() )