From 8471ba7b97a2a01039133674d3960c5c16803833 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 10 Mar 2016 15:10:39 +0100 Subject: No need for extern "C" here ...and fix resulting loplugin:salbool fallout Change-Id: I5ae1497608d31c20b0d10676450a7673dee1c651 --- include/jvmfwk/framework.hxx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx index 9ba49ceee988..ce7363c04c00 100644 --- a/include/jvmfwk/framework.hxx +++ b/include/jvmfwk/framework.hxx @@ -27,8 +27,6 @@ #include #include "jni.h" -extern "C" { - /** @file

This library can operate in two modes, application mode and direct mode.

@@ -285,10 +283,10 @@ JVMFWK_DLLPUBLIC void SAL_CALL jfw_freeJavaInfo(JavaInfo *pInfo); @param pInfoB the second argument which is compared with the first. @return - sal_True - both object represent the same JRE.
- sal_False - the objects represend different JREs + true - both object represent the same JRE.
+ false - the objects represend different JREs */ -JVMFWK_DLLPUBLIC sal_Bool SAL_CALL jfw_areEqualJavaInfo( +JVMFWK_DLLPUBLIC bool SAL_CALL jfw_areEqualJavaInfo( JavaInfo const * pInfoA,JavaInfo const * pInfoB); /** determines if a Java Virtual Machine is already running. @@ -573,7 +571,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo **ppInf /** determines if Java can be used. -

If bEnabled is sal_False then a call +

If bEnabled is false then a call to jfw_startVM will result in an error with the errorcode JFW_E_JAVA_DISABLED

@@ -587,7 +585,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo **ppInf were not met.
JFW_E_DIRECT_MODE the function cannot be used in this mode. */ -JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled); +JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setEnabled(bool bEnabled); /** provides the information if Java can be used. @@ -766,8 +764,6 @@ JVMFWK_DLLPUBLIC void SAL_CALL jfw_lock(); */ JVMFWK_DLLPUBLIC void SAL_CALL jfw_unlock(); -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit