summaryrefslogtreecommitdiff
path: root/scripting/java/Framework
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2003-03-07 12:25:03 +0000
committerNoel Power <npower@openoffice.org>2003-03-07 12:25:03 +0000
commitbf739539a8e20de88fa30775d3256ab2511bdee8 (patch)
tree97af6f395255aa56e771480dbcf9a89839b7535f /scripting/java/Framework
parent32ef4ef3045ea3256ef5be643846bd1cd789c1ff (diff)
#12199, backout out change from previous version.
Diffstat (limited to 'scripting/java/Framework')
-rw-r--r--scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java16
1 files changed, 7 insertions, 9 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 ff3c945d0d10..8cda9ef64105 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.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jmrice $ $Date: 2003-03-07 11:02:42 $
+ * last change: $Author: npower $ $Date: 2003-03-07 13:25:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -493,15 +493,13 @@ XInitialization {
_xDialog.execute();
ScriptRuntimeForJava.DEBUG("*DF* After execute " );
- // 12119: Checking Add to path applied even if user selects not to run
- if ( _pushed.equals( _runButtonName ) )
+ if ( _pushed.equals( _runButtonName ) )
{
result += 1;
-
- if ( _checkBoxState == 1 )
- {
- result +=2;
- }
+ }
+ if ( _checkBoxState == 1 )
+ {
+ result +=2;
}
return result;
}