bool improvements
Change-Id: Ic4572480d48e341c8fa611a3283efc351f530eb5
This commit is contained in:
@@ -1032,7 +1032,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ret.is() == false)
|
if (!ret.is())
|
||||||
vecBadPaths.push_back(sFilePath);
|
vecBadPaths.push_back(sFilePath);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -302,7 +302,7 @@ javaFrameworkError SAL_CALL jfw_startVM(
|
|||||||
if (mode == jfw::JFW_MODE_APPLICATION)
|
if (mode == jfw::JFW_MODE_APPLICATION)
|
||||||
{
|
{
|
||||||
const jfw::MergedSettings settings;
|
const jfw::MergedSettings settings;
|
||||||
if (sal_False == settings.getEnabled())
|
if (!settings.getEnabled())
|
||||||
return JFW_E_JAVA_DISABLED;
|
return JFW_E_JAVA_DISABLED;
|
||||||
aInfo.attach(settings.createJavaInfo());
|
aInfo.attach(settings.createJavaInfo());
|
||||||
//check if a Java has ever been selected
|
//check if a Java has ever been selected
|
||||||
@@ -949,7 +949,7 @@ javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled)
|
|||||||
|
|
||||||
//check if Enabled is false;
|
//check if Enabled is false;
|
||||||
const jfw::MergedSettings settings;
|
const jfw::MergedSettings settings;
|
||||||
if (settings.getEnabled() == sal_False)
|
if (!settings.getEnabled())
|
||||||
g_bEnabledSwitchedOn = true;
|
g_bEnabledSwitchedOn = true;
|
||||||
}
|
}
|
||||||
jfw::NodeJava node(jfw::NodeJava::USER);
|
jfw::NodeJava node(jfw::NodeJava::USER);
|
||||||
|
Reference in New Issue
Block a user