diff options
-rw-r--r-- | scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java | 16 |
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; } |