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 /embedserv | |
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 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 2 | ||||
-rw-r--r-- | embedserv/source/embed/ed_ipersiststr.cxx | 4 | ||||
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 6bb68fed3891..076c5b6b8ec5 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -860,7 +860,7 @@ void DocumentHolder::show() } catch( const uno::Exception& ) { - OSL_FAIL( "Can not show the frame!\n" ); + OSL_FAIL( "Can not show the frame!" ); } } diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx index dc8a36ccd2bf..6b610785443f 100644 --- a/embedserv/source/embed/ed_ipersiststr.cxx +++ b/embedserv/source/embed/ed_ipersiststr.cxx @@ -569,7 +569,7 @@ STDMETHODIMP EmbedDocument_Impl::Load( IStorage *pStg ) hr = pStg->DestroyElement( reinterpret_cast<LPCWSTR>(aOfficeEmbedStreamName.getStr()) ); hr = pStg->DestroyElement( reinterpret_cast<LPCWSTR>(aExtentStreamName.getStr()) ); - OSL_ENSURE( SUCCEEDED( hr ), "Can not destroy created stream!\n" ); + OSL_ENSURE( SUCCEEDED( hr ), "Can not destroy created stream!" ); if ( FAILED( hr ) ) hr = E_FAIL; } @@ -587,7 +587,7 @@ STDMETHODIMP EmbedDocument_Impl::Save( IStorage *pStgSave, BOOL fSameAsLoad ) if ( !fSameAsLoad && pStgSave != m_pMasterStorage ) { - OSL_ENSURE( m_pMasterStorage, "How could the document be initialized without storage!??\n" ); + OSL_ENSURE( m_pMasterStorage, "How could the document be initialized without storage!??" ); HRESULT hr = m_pMasterStorage->CopyTo( NULL, nullptr, nullptr, pStgSave ); if ( FAILED( hr ) ) return E_FAIL; diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index 291c164e5d6a..407dc1e2e8ff 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -70,13 +70,13 @@ CurThreadData::~CurThreadData() bool CurThreadData::setData(void *pData) { - OSL_ENSURE( m_hKey, "No thread key!\n" ); + OSL_ENSURE( m_hKey, "No thread key!" ); return (osl_setThreadKeyData(m_hKey, pData)); } void *CurThreadData::getData() { - OSL_ENSURE( m_hKey, "No thread key!\n" ); + OSL_ENSURE( m_hKey, "No thread key!" ); return (osl_getThreadKeyData(m_hKey)); } |