From 8c8f2a528534c31708028825d327601d7bec804c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Apr 2017 11:08:35 +0200 Subject: 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 Reviewed-by: Noel Grandin --- avmedia/source/framework/modeltools.cxx | 6 +++--- avmedia/source/vlc/vlcuno.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'avmedia/source') diff --git a/avmedia/source/framework/modeltools.cxx b/avmedia/source/framework/modeltools.cxx index d2d5380af9cd..ab78d0d0b544 100644 --- a/avmedia/source/framework/modeltools.cxx +++ b/avmedia/source/framework/modeltools.cxx @@ -74,7 +74,7 @@ bool KmzDae2Gltf(const OUString& rSourceURL, OUString& o_rOutput) const bool bIsKMZ = rSourceURL.endsWithIgnoreAsciiCase(".kmz"); if( !bIsDAE && !bIsKMZ ) { - SAL_WARN("avmedia.opengl", "KmzDae2Gltf converter got a file with wrong extension\n" << rSourceURL); + SAL_WARN("avmedia.opengl", "KmzDae2Gltf converter got a file with wrong extension " << rSourceURL); return false; } @@ -108,7 +108,7 @@ bool KmzDae2Gltf(const OUString& rSourceURL, OUString& o_rOutput) } catch (const uno::Exception&) { - SAL_WARN("avmedia.opengl", "Exception while trying to copy source file to the temp folder for conversion:\n" << sInput); + SAL_WARN("avmedia.opengl", "Exception while trying to copy source file to the temp folder for conversion: " << sInput); return false; } } @@ -121,7 +121,7 @@ bool KmzDae2Gltf(const OUString& rSourceURL, OUString& o_rOutput) lcl_UnzipKmz(sInput, sOutput, sDaeFilePath); if ( sDaeFilePath.isEmpty() ) { - SAL_WARN("avmedia.opengl", "Cannot find dae file in kmz:\n" << rSourceURL); + SAL_WARN("avmedia.opengl", "Cannot find the file in kmz: " << rSourceURL); return false; } diff --git a/avmedia/source/vlc/vlcuno.cxx b/avmedia/source/vlc/vlcuno.cxx index b5ceea23fb0c..0c505696261a 100644 --- a/avmedia/source/vlc/vlcuno.cxx +++ b/avmedia/source/vlc/vlcuno.cxx @@ -31,7 +31,7 @@ using namespace ::com::sun::star; static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno::Reference< lang::XMultiServiceFactory >& rxFact ) { - SAL_INFO("avmedia", "create VLC Media player !\n"); + SAL_INFO("avmedia", "create VLC Media player !"); // Experimental for now - code is neither elegant nor well tested. uno::Reference< uno::XComponentContext > xContext = comphelper::getProcessComponentContext(); @@ -52,7 +52,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediavlc_component_getFactory( if (!xContext.is() || !officecfg::Office::Common::Misc::ExperimentalMode::get(xContext)) return nullptr; - SAL_INFO("avmedia", "Create VLC Media component: '" << pImplName << "'\n"); + SAL_INFO("avmedia", "Create VLC Media component: " << pImplName); if( rtl_str_compare( pImplName, IMPL_NAME ) == 0 ) { const OUString aServiceName( SERVICE_NAME ); -- cgit