summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/docholder.cxx2
-rw-r--r--embedserv/source/embed/ed_ipersiststr.cxx4
-rw-r--r--embedserv/source/embed/servprov.cxx4
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));
}