diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-02-12 14:29:55 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-12 14:29:55 +0100 |
commit | 47e38fb11f9d6e76aefbee75eaf25e4344d03a20 (patch) | |
tree | 334ae4825a5133aefb4e1d484eb76a3da512a781 /package | |
parent | 21b3a9a6beb2773668a7ac63c50a1fdc00e5cd4b (diff) |
If we can have a few more information...
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index b3db1c609436..5cb6720dec53 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -538,9 +538,10 @@ uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getInputStream() OSL_FAIL( "ZipException thrown" );//rException.Message); return uno::Reference < io::XInputStream > (); } - catch ( Exception & ) + catch ( Exception &ex ) { OSL_FAIL( "Exception is thrown during stream wrapping!\n" ); + OSL_FAIL(OUStringToOString(ex.Message, RTL_TEXTENCODING_UTF8).getStr()); return uno::Reference < io::XInputStream > (); } } |