diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx index a2aeb06af173..5c84bf6e6f18 100644 --- a/connectivity/source/commontools/CommonTools.cxx +++ b/connectivity/source/commontools/CommonTools.cxx @@ -29,6 +29,7 @@ #include #include #include +#include using namespace ::comphelper; static sal_Unicode rtl_ascii_toUpperCase( sal_Unicode ch ) @@ -134,6 +135,7 @@ namespace connectivity } catch (Exception&) { + TOOLS_WARN_EXCEPTION("connectivity.commontools", "getJavaVM failed:"); } return aRet;