summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-11 15:55:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-12 08:43:14 +0200
commit539c75b910f518a1fe51e9a21f6368a91c69ed88 (patch)
tree8e6b0c4334960d20c6faa2466be62f86a6b93222 /sfx2
parentc59804173be99e5ee922d859271c6660695d0ade (diff)
strip some linefeeds from the end of debug output
Change-Id: I2821969d86b7f8cee53404e6a0acfbebbe53b3ac Reviewed-on: https://gerrit.libreoffice.org/39824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index db7a7d1ca73e..828d32043cd9 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -217,14 +217,14 @@ bool SfxObjectShell::PutURLContentsToVersionStream_Impl(
embed::ElementModes::READWRITE );
DBG_ASSERT( xVersion.is(),
- "The method must throw an exception if the storage can not be opened!\n" );
+ "The method must throw an exception if the storage can not be opened!" );
if ( !xVersion.is() )
throw uno::RuntimeException();
uno::Reference< io::XStream > xVerStream = xVersion->openStreamElement(
aStreamName,
embed::ElementModes::READWRITE );
- DBG_ASSERT( xVerStream.is(), "The method must throw an exception if the storage can not be opened!\n" );
+ DBG_ASSERT( xVerStream.is(), "The method must throw an exception if the storage can not be opened!" );
if ( !xVerStream.is() )
throw uno::RuntimeException();
@@ -3315,7 +3315,7 @@ bool SfxObjectShell::CopyStoragesOfUnknownMediaType( const uno::Reference< embed
if ( xSource->isStorageElement( aSubElements[nInd] ) )
{
OSL_ENSURE( !xTarget->hasByName( aSubElements[nInd] ),
- "The target storage is an output storage, the element should not exist in the target!\n" );
+ "The target storage is an output storage, the element should not exist in the target!" );
xSource->copyElementTo( aSubElements[nInd], xTarget, aSubElements[nInd] );
}
@@ -3388,7 +3388,7 @@ bool SfxObjectShell::CopyStoragesOfUnknownMediaType( const uno::Reference< embed
default:
{
OSL_ENSURE( aSubElements[nInd] == "Configurations2" || nFormat == SotClipboardFormatId::STARBASE_8 || !xTarget->hasByName( aSubElements[nInd] ),
- "The target storage is an output storage, the element should not exist in the target!\n" );
+ "The target storage is an output storage, the element should not exist in the target!" );
if ( !xTarget->hasByName( aSubElements[nInd] ) )
{