summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-30 14:19:29 +0200
committerAndras Timar <andras.timar@collabora.com>2021-03-31 10:28:06 +0200
commit54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03 (patch)
tree11c99039401b885c8809b7ffff8ffeebf9781cb9 /package
parent09deac70e486ca609a25a817cdbea754eb7c5649 (diff)
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 & )