summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/svdraw/svdoole2.cxx10
-rw-r--r--svx/source/unodraw/unoshap4.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index 2eb2e5bf0247..1c3d959ac688 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -244,13 +244,13 @@ void SAL_CALL SdrLightEmbeddedClient_Impl::notifyEvent( const document::EventObj
}
catch( embed::NoVisualAreaSizeException& )
{
- OSL_FAIL( "No visual area size!\n" );
+ OSL_FAIL( "No visual area size!" );
aSz.Width = 5000;
aSz.Height = 5000;
}
catch( uno::Exception& )
{
- OSL_FAIL( "Unexpected exception!\n" );
+ OSL_FAIL( "Unexpected exception!" );
aSz.Width = 5000;
aSz.Height = 5000;
}
@@ -277,7 +277,7 @@ void SAL_CALL SdrLightEmbeddedClient_Impl::notifyEvent( const document::EventObj
}
catch( uno::Exception& )
{
- OSL_FAIL( "Unexpected exception!\n" );
+ OSL_FAIL( "Unexpected exception!" );
}
}
}
@@ -555,7 +555,7 @@ SdrEmbedObjectLink::~SdrEmbedObjectLink()
{
// the link URL was not changed
uno::Reference< embed::XEmbeddedObject > xObject = pObj->GetObjRef();
- OSL_ENSURE( xObject.is(), "The object must exist always!\n" );
+ OSL_ENSURE( xObject.is(), "The object must exist always!" );
if ( xObject.is() )
{
// let the object reload the link
@@ -837,7 +837,7 @@ bool SdrOle2Obj::UpdateLinkURL_Impl()
{
GetObjRef_Impl();
uno::Reference<embed::XCommonEmbedPersist> xPersObj( mpImpl->mxObjRef.GetObject(), uno::UNO_QUERY );
- OSL_ENSURE( xPersObj.is(), "The object must exist!\n" );
+ OSL_ENSURE( xPersObj.is(), "The object must exist!" );
if ( xPersObj.is() )
{
try
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 896b724ccf3c..46e76c35f9a8 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -104,7 +104,7 @@ bool SvxOle2Shape::setPropertyValueImpl( const OUString& rName, const SfxItemPro
}
catch( uno::Exception& )
{
- OSL_FAIL( "Couldn't set the visual area for the object!\n" );
+ OSL_FAIL( "Couldn't set the visual area for the object!" );
}
}