diff options
Diffstat (limited to 'package/source/zippackage/ZipPackageStream.cxx')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 318a6a52b873..7a299ce33262 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -417,12 +417,12 @@ Reference< io::XInputStream > SAL_CALL ZipPackageStream::getRawData() } catch (ZipException &)//rException) { - OSL_ENSURE( 0, "ZipException thrown");//rException.Message); + OSL_FAIL( "ZipException thrown");//rException.Message); return Reference < io::XInputStream > (); } catch (Exception &) { - OSL_ENSURE( 0, "Exception is thrown during stream wrapping!\n"); + OSL_FAIL( "Exception is thrown during stream wrapping!\n"); return Reference < io::XInputStream > (); } } @@ -448,12 +448,12 @@ Reference< io::XInputStream > SAL_CALL ZipPackageStream::getInputStream( ) } catch (ZipException &)//rException) { - OSL_ENSURE( 0,"ZipException thrown");//rException.Message); + OSL_FAIL( "ZipException thrown");//rException.Message); return Reference < io::XInputStream > (); } catch (Exception &) { - OSL_ENSURE( 0, "Exception is thrown during stream wrapping!\n"); + OSL_FAIL( "Exception is thrown during stream wrapping!\n"); return Reference < io::XInputStream > (); } } |