summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index 1c055dcc2905..962d206ed1cb 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -909,12 +909,12 @@ uno::Reference< io::XInputStream > ZipPackageStream::getRawData()
}
catch ( ZipException & )//rException )
{
- OSL_FAIL( "ZipException thrown" );//rException.Message);
+ TOOLS_WARN_EXCEPTION( "package", "" );
return uno::Reference < io::XInputStream > ();
}
catch ( Exception & )
{
- OSL_FAIL( "Exception is thrown during stream wrapping!" );
+ TOOLS_WARN_EXCEPTION( "package", "Exception is thrown during stream wrapping!" );
return uno::Reference < io::XInputStream > ();
}
}
@@ -936,7 +936,7 @@ uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getInputStream()
}
catch ( ZipException & )//rException )
{
- OSL_FAIL( "ZipException thrown" );//rException.Message);
+ TOOLS_WARN_EXCEPTION( "package", "" );
return uno::Reference < io::XInputStream > ();
}
catch ( const Exception & )