summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
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 'svtools')
-rw-r--r--svtools/source/config/test/test.cxx4
-rw-r--r--svtools/source/control/ctrlbox.cxx4
-rw-r--r--svtools/source/hatchwindow/hatchwindow.cxx6
-rw-r--r--svtools/source/hatchwindow/ipwin.cxx2
-rw-r--r--svtools/source/misc/embedhlp.cxx2
-rw-r--r--svtools/source/misc/embedtransfer.cxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index 4fd54c54142e..0b9c0e89cec2 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -99,7 +99,7 @@ void TestApplication::Main()
// Init global servicemanager and set it for external services.
::comphelper::setProcessServiceFactory( TestApplication::getUNOServiceManager() );
// Control success of operation.
- OSL_ENSURE( !(::comphelper::getProcessServiceFactory()!=TestApplication::getUNOServiceManager()), "TestApplication::Main()\nGlobal servicemanager not right initialized.\n" );
+ OSL_ENSURE( !(::comphelper::getProcessServiceFactory()!=TestApplication::getUNOServiceManager()), "TestApplication::Main() Global servicemanager not right initialized." );
/**-***********************************************************************************************************
test area
@@ -110,7 +110,7 @@ void TestApplication::Main()
#endif
// Execute();
- OSL_FAIL( "Test was successful!\n" );
+ OSL_FAIL( "Test was successful!" );
}
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 5a230f550bf0..cbd2227cd21f 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -743,7 +743,7 @@ void FontNameBox::SaveMRUEntries( const OUString& aFontMRUEntriesFile ) const
aStream.Open( aFontMRUEntriesFile, StreamMode::WRITE | StreamMode::TRUNC );
if( ! (aStream.IsOpen() && aStream.IsWritable()) )
{
- SAL_INFO("svtools.control", "FontNameBox::SaveMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed\n");
+ SAL_INFO("svtools.control", "FontNameBox::SaveMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed");
return;
}
@@ -764,7 +764,7 @@ void FontNameBox::LoadMRUEntries( const OUString& aFontMRUEntriesFile )
SvFileStream aStream( aFontMRUEntriesFile, StreamMode::READ );
if( ! aStream.IsOpen() )
{
- SAL_INFO("svtools.control", "FontNameBox::LoadMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed\n");
+ SAL_INFO("svtools.control", "FontNameBox::LoadMRUEntries: opening mru entries file " << aFontMRUEntriesFile << " failed");
return;
}
diff --git a/svtools/source/hatchwindow/hatchwindow.cxx b/svtools/source/hatchwindow/hatchwindow.cxx
index 26093b92bdb4..49b3af96b90e 100644
--- a/svtools/source/hatchwindow/hatchwindow.cxx
+++ b/svtools/source/hatchwindow/hatchwindow.cxx
@@ -52,7 +52,7 @@ void VCLXHatchWindow::initializeWindow( const uno::Reference< awt::XWindowPeer >
if ( pParentComponent )
pParent = pParentComponent->GetWindow();
- OSL_ENSURE( pParent, "No parent window is provided!\n" );
+ OSL_ENSURE( pParent, "No parent window is provided!" );
if ( !pParent )
throw lang::IllegalArgumentException(); // TODO
@@ -79,7 +79,7 @@ void VCLXHatchWindow::QueryObjAreaPixel( tools::Rectangle & aRect )
}
catch( uno::Exception& )
{
- OSL_FAIL( "Can't adjust rectangle size!\n" );
+ OSL_FAIL( "Can't adjust rectangle size!" );
}
}
}
@@ -95,7 +95,7 @@ void VCLXHatchWindow::RequestObjAreaPixel( const tools::Rectangle & aRect )
}
catch( uno::Exception& )
{
- OSL_FAIL( "Can't request resizing!\n" );
+ OSL_FAIL( "Can't request resizing!" );
}
}
}
diff --git a/svtools/source/hatchwindow/ipwin.cxx b/svtools/source/hatchwindow/ipwin.cxx
index d714dd3b981e..af5d75cfaba5 100644
--- a/svtools/source/hatchwindow/ipwin.cxx
+++ b/svtools/source/hatchwindow/ipwin.cxx
@@ -437,7 +437,7 @@ SvResizeWindow::SvResizeWindow
, m_bActive( false )
, m_pWrapper( pWrapper )
{
- OSL_ENSURE( pParent != nullptr && pWrapper != nullptr, "Wrong initialization of hatch window!\n" );
+ OSL_ENSURE( pParent != nullptr && pWrapper != nullptr, "Wrong initialization of hatch window!" );
SetBackground();
SetAccessibleRole( css::accessibility::AccessibleRole::EMBEDDED_OBJECT );
m_aResizer.SetOuterRectPixel( tools::Rectangle( Point(), GetOutputSizePixel() ) );
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index dbbea93fc011..b73538a35d24 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -771,7 +771,7 @@ void EmbeddedObjectRef::SetGraphicToContainer( const Graphic& rGraphic,
aContainer.InsertGraphicStream( xStream, aName, aMediaType );
}
else
- OSL_FAIL( "Export of graphic is failed!\n" );
+ OSL_FAIL( "Export of graphic is failed!" );
}
uno::Reference< io::XInputStream > EmbeddedObjectRef::GetGraphicReplacementStream(
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx
index d23ff4b6571d..c91350006246 100644
--- a/svtools/source/misc/embedtransfer.cxx
+++ b/svtools/source/misc/embedtransfer.cxx
@@ -240,7 +240,7 @@ void SvEmbedTransferHelper::FillTransferableObjectDescriptor( TransferableObject
}
catch( embed::NoVisualAreaSizeException& )
{
- OSL_FAIL( "Can not get visual area size!\n" );
+ OSL_FAIL( "Can not get visual area size!" );
aSize = Size( 5000, 5000 );
}