Fix typos in code
It passed "make check" on Linux Change-Id: Id7c7ac1b88d290ed71f03fa28dec144bcd29b692 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101590 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
0d773f0b07
commit
f10a4e2010
@@ -43,7 +43,7 @@ public abstract class ScriptEditor {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public boolean isMacroExectionEnabled() {
|
||||
public boolean isMacroExecutionEnabled() {
|
||||
XNameAccess xNameAccess = null;
|
||||
try {
|
||||
String sAccess = "com.sun.star.configuration.ConfigurationAccess";
|
||||
|
@@ -170,7 +170,7 @@ public class ScriptEditorForBeanShell extends ScriptEditor implements ActionList
|
||||
*
|
||||
*/
|
||||
public Object execute() throws Exception {
|
||||
if (!isMacroExectionEnabled()) {
|
||||
if (!isMacroExecutionEnabled()) {
|
||||
showErrorMessage("Macro Execution has been disabled.");
|
||||
return null;
|
||||
}
|
||||
|
@@ -196,7 +196,7 @@ public class ScriptEditorForJavaScript extends ScriptEditor {
|
||||
private ScriptEditorForJavaScript(XScriptContext context, URL url) {
|
||||
setContext(context);
|
||||
// Need to check that before showing the window. Checking in execute() has no effect.
|
||||
if (!isMacroExectionEnabled()) {
|
||||
if (!isMacroExecutionEnabled()) {
|
||||
showErrorMessage("Macro Execution has been disabled.");
|
||||
return ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user