sdext/source/pdfimport/filterdet.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 76b7803fde43c994bb7ad2e37e2e4f27b1470f06
Author: Arnold Dumas <arn...@dumas.at>
Date:   Mon Feb 22 21:37:52 2016 +0100

    sdext: remove \n from SAL_WARN/INFO[_IF] macros
    
    Change-Id: I07f33f6781c2b03ccbe690e70b77310e875eeef0
    Reviewed-on: https://gerrit.libreoffice.org/22624
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/sdext/source/pdfimport/filterdet.cxx 
b/sdext/source/pdfimport/filterdet.cxx
index 2e2a350..a1016de 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() )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to