[Libreoffice-commits] core.git: bean/com
Miklos Vajna
vmiklos at collabora.co.uk
Wed Apr 27 16:42:56 UTC 2016
bean/com/sun/star/comp/beans/LocalOfficeConnection.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit db4cba76033124cbf1baa560b99700987fcdd3ae
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Apr 27 15:43:28 2016 +0200
beans: if loading a library fails, show the reason
Don't do it for the MSVC libraries though, e.g. on my system loading
msvcr70 fails, but the SDK example works without problems.
Change-Id: I81bc0b64967e7abb74ca1fff7a2e4b4dbd75d5a5
Reviewed-on: https://gerrit.libreoffice.org/24432
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index 5c67e90..c2d17b7 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -99,7 +99,8 @@ public class LocalOfficeConnection
catch (Throwable e)
{
// loading twice would fail
- System.err.println( "cannot find uwinapi" );
+ System.err.println("cannot find uwinapi:");
+ e.printStackTrace();
}
try
@@ -109,7 +110,8 @@ public class LocalOfficeConnection
catch (Throwable e)
{
// loading twice would fail
- System.err.println( "cannot find jawt" );
+ System.err.println("cannot find jawt:");
+ e.printStackTrace();
}
}
@@ -773,3 +775,5 @@ public class LocalOfficeConnection
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list