diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 11:08:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-21 09:15:11 +0200 |
commit | 8c8f2a528534c31708028825d327601d7bec804c (patch) | |
tree | c7905b70ed9dac0f53f72eef4efc33e1e7cf1c0d /basic | |
parent | 841e1a6f3619054ecc9240e061cd83d4e41d1ca9 (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 'basic')
-rw-r--r-- | basic/source/uno/dlgcont.cxx | 6 | ||||
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index 4bc038033534..201f873c4742 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -271,7 +271,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement //Reference< XMultiServiceFactory > xMSF( comphelper::getProcessServiceFactory() ); //if( !xMSF.is() ) //{ - // OSL_FAIL( "### couldn't get ProcessServiceFactory\n" ); + // OSL_FAIL( "### couldn't get ProcessServiceFactory" ); // return aRetAny; //} @@ -282,7 +282,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement UNO_QUERY ); if( !xDialogModel.is() ) { - OSL_FAIL( "### couldn't create com.sun.star.awt.UnoControlDialogModel component\n" ); + OSL_FAIL( "### couldn't create com.sun.star.awt.UnoControlDialogModel component" ); return aRetAny; } @@ -321,7 +321,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement } catch(const Exception& ) { - OSL_FAIL( "Parsing error\n" ); + OSL_FAIL( "Parsing error" ); SfxErrorContext aEc( ERRCTX_SFX_LOADBASIC, aFile ); ErrorHandler::HandleError( ERRCODE_IO_GENERAL ); return aRetAny; diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index a574aa7f7996..cecbdcfbe1fa 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -681,7 +681,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons } catch(const uno::Exception& ) { - OSL_FAIL( "Problem on storing of password library!\n" ); + OSL_FAIL( "Problem on storing of password library!" ); // TODO: error handling } } @@ -898,7 +898,7 @@ bool SfxScriptLibraryContainer::implLoadPasswordLibrary } catch(const uno::Exception& ) { - OSL_FAIL( "### couldn't open sub storage for library\n" ); + OSL_FAIL( "### couldn't open sub storage for library" ); return false; } } |