summaryrefslogtreecommitdiff
path: root/scripting/java/Framework
diff options
context:
space:
mode:
authorJohn Rice <jmrice@openoffice.org>2003-03-07 10:02:42 +0000
committerJohn Rice <jmrice@openoffice.org>2003-03-07 10:02:42 +0000
commit32ef4ef3045ea3256ef5be643846bd1cd789c1ff (patch)
tree9b70e4bae06d1fc6e5e16952df7ed456cca99ff4 /scripting/java/Framework
parent259492e7945bceec2bfc670ae78c6aaef0b833f3 (diff)
Bug #12119 Checking Add to path applied even if user selects not to run
SecurityManager - code review updates
Diffstat (limited to 'scripting/java/Framework')
-rw-r--r--scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java16
1 files changed, 9 insertions, 7 deletions
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index 81992e4536bd..ff3c945d0d10 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -2,9 +2,9 @@
*
* $RCSfile: SecurityDialog.java,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: dfoster $ $Date: 2003-03-04 12:33:34 $
+ * last change: $Author: jmrice $ $Date: 2003-03-07 11:02:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -493,13 +493,15 @@ XInitialization {
_xDialog.execute();
ScriptRuntimeForJava.DEBUG("*DF* After execute " );
- if ( _pushed.equals( _runButtonName ) )
+ // 12119: Checking Add to path applied even if user selects not to run
+ if ( _pushed.equals( _runButtonName ) )
{
result += 1;
- }
- if ( _checkBoxState == 1 )
- {
- result +=2;
+
+ if ( _checkBoxState == 1 )
+ {
+ result +=2;
+ }
}
return result;
}