summaryrefslogtreecommitdiff
path: root/jvmfwk/source
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source')
-rw-r--r--jvmfwk/source/framework.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index 9f3d67cfabda..75a20ac98ff3 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -242,7 +242,7 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi
catch (jfw::FrameworkException& e)
{
retVal = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return retVal;
@@ -420,7 +420,7 @@ javaFrameworkError SAL_CALL jfw_startVM(JavaVMOption *arOptions, sal_Int32 cOpti
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
@@ -629,7 +629,7 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
@@ -718,7 +718,7 @@ javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo **ppInfo)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -846,7 +846,7 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
@@ -880,7 +880,7 @@ javaFrameworkError SAL_CALL jfw_setSelectedJRE(JavaInfo const *pInfo)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -913,7 +913,7 @@ javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -935,7 +935,7 @@ javaFrameworkError SAL_CALL jfw_getEnabled(sal_Bool *pbEnabled)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -960,7 +960,7 @@ javaFrameworkError SAL_CALL jfw_setVMParameters(
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
@@ -985,7 +985,7 @@ javaFrameworkError SAL_CALL jfw_getVMParameters(
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -1008,7 +1008,7 @@ javaFrameworkError SAL_CALL jfw_setUserClassPath(rtl_uString * pCp)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -1031,7 +1031,7 @@ javaFrameworkError SAL_CALL jfw_getUserClassPath(rtl_uString ** ppCP)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -1055,7 +1055,7 @@ javaFrameworkError SAL_CALL jfw_addJRELocation(rtl_uString * sLocation)
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
@@ -1081,7 +1081,7 @@ javaFrameworkError SAL_CALL jfw_setJRELocations(
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}
return errcode;
@@ -1106,7 +1106,7 @@ javaFrameworkError SAL_CALL jfw_getJRELocations(
catch (jfw::FrameworkException& e)
{
errcode = e.errorCode;
- fprintf(stderr, e.message.getStr());
+ fprintf(stderr, "%s\n", e.message.getStr());
OSL_ENSURE(0, e.message.getStr());
}