diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 10:11:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:39 +0200 |
commit | 7e4c6e1ff1961ad7a48cc9c1d9b3668372c6aed8 (patch) | |
tree | 0f09334558f978403621a5fb4f24f1bd7a758be6 /package/source/zipapi | |
parent | 6cae6d682cfdec0104f68552def2d1b5719c8fbe (diff) |
remove unnecessary linefeeds from the end of exception messages
Change-Id: Id1d7971639b2496dbe0274423ff4150d9295e8d6
Diffstat (limited to 'package/source/zipapi')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 493a6cb49622..839a1c4ea623 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -381,18 +381,18 @@ uno::Reference< XInputStream > ZipFile::StaticGetDataFromRawStream( const uno::R throw ( packages::WrongPasswordException, ZipIOException, RuntimeException ) { if ( !rData.is() ) - throw ZipIOException("Encrypted stream without encryption data!\n" ); + throw ZipIOException("Encrypted stream without encryption data!" ); if ( !rData->m_aKey.getLength() ) throw packages::WrongPasswordException(THROW_WHERE ); uno::Reference< XSeekable > xSeek( xStream, UNO_QUERY ); if ( !xSeek.is() ) - throw ZipIOException("The stream must be seekable!\n" ); + throw ZipIOException("The stream must be seekable!" ); // if we have a digest, then this file is an encrypted one and we should // check if we can decrypt it or not - OSL_ENSURE( rData->m_aDigest.getLength(), "Can't detect password correctness without digest!\n" ); + OSL_ENSURE( rData->m_aDigest.getLength(), "Can't detect password correctness without digest!" ); if ( rData->m_aDigest.getLength() ) { sal_Int32 nSize = sal::static_int_cast< sal_Int32 >( xSeek->getLength() ); |