[Libreoffice-commits] .: package/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sun Feb 12 05:32:28 PST 2012


 package/source/zippackage/ZipPackageStream.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 47e38fb11f9d6e76aefbee75eaf25e4344d03a20
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 12 14:29:55 2012 +0100

    If we can have a few more information...

diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index b3db1c6..5cb6720 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 > ();
     }
 }


More information about the Libreoffice-commits mailing list