summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-20 11:08:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-21 09:15:11 +0200
commit8c8f2a528534c31708028825d327601d7bec804c (patch)
treec7905b70ed9dac0f53f72eef4efc33e1e7cf1c0d /sw/source/filter/xml
parent841e1a6f3619054ecc9240e061cd83d4e41d1ca9 (diff)
remove unnecessary explicit linefeeds from end of SAL and OSL log calls
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r--sw/source/filter/xml/swxml.cxx2
-rw-r--r--sw/source/filter/xml/xmltexte.cxx2
-rw-r--r--sw/source/filter/xml/xmltexti.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 2676c7bd52b2..cb2bbd433912 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -748,7 +748,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, c
// there is ambiguity which medium should be used here
// for now the own medium has a preference
SfxMedium* pMedDescrMedium = pMedium ? pMedium : pDocSh->GetMedium();
- OSL_ENSURE( pMedDescrMedium, "There is no medium to get MediaDescriptor from!\n" );
+ OSL_ENSURE( pMedDescrMedium, "There is no medium to get MediaDescriptor from!" );
xInfoSet->setPropertyValue( "BaseURI", makeAny( rBaseURL ) );
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index abb2013709ce..99e032dd4a42 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -343,7 +343,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded(
catch(const uno::Exception&)
{
// TODO/LATER: error handling
- OSL_FAIL( "Link detection or retrieving of the URL of OOo link is failed!\n" );
+ OSL_FAIL( "Link detection or retrieving of the URL of OOo link is failed!" );
}
}
diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx
index a1c4e991d50c..f49d42a0d4a5 100644
--- a/sw/source/filter/xml/xmltexti.cxx
+++ b/sw/source/filter/xml/xmltexti.cxx
@@ -135,7 +135,7 @@ static void lcl_setObjectVisualArea( const uno::Reference< embed::XEmbeddedObjec
}
catch( uno::Exception& )
{
- OSL_FAIL( "Couldn't set visual area of the object!\n" );
+ OSL_FAIL( "Couldn't set visual area of the object!" );
}
}
}
@@ -315,7 +315,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject(
OUString aExistingName = pExistingOLENd->GetOLEObj().GetCurrentPersistName();
if ( aExistingName.equals( aObjName ) )
{
- OSL_FAIL( "The document contains duplicate object references, means it is partially broken, please let developers know how this document was generated!\n" );
+ OSL_FAIL( "The document contains duplicate object references, means it is partially broken, please let developers know how this document was generated!" );
OUString aTmpName = pDoc->GetPersist()->GetEmbeddedObjectContainer().CreateUniqueObjectName();
try
@@ -327,7 +327,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertOLEObject(
}
catch ( uno::Exception& )
{
- OSL_FAIL( "Couldn't create a copy of the object!\n" );
+ OSL_FAIL( "Couldn't create a copy of the object!" );
}
break;