diff options
author | Duncan Foster <dfoster@openoffice.org> | 2003-02-12 15:20:45 +0000 |
---|---|---|
committer | Duncan Foster <dfoster@openoffice.org> | 2003-02-12 15:20:45 +0000 |
commit | 1d92276ddd13394a1740658ecd825a34fdfefc15 (patch) | |
tree | bd71ac14e69a566b3452e3013b79ab76835e63bf /scripting/java/Framework | |
parent | ecd9d1d89099b764cbca2d718f627464c264457a (diff) |
Fixed erroneous condition
Diffstat (limited to 'scripting/java/Framework')
-rw-r--r-- | scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java | 9 |
1 files changed, 4 insertions, 5 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 7cc74af505ee..baacd1c13112 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.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dfoster $ $Date: 2003-02-11 18:04:37 $ + * last change: $Author: dfoster $ $Date: 2003-02-12 16:20:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -169,7 +169,7 @@ XInitialization { { System.out.println("SecurityDialog init"); // figure out if we need a checkbox - if ( args.length != 1) + if ( args.length == 1) { //check args is a path // set checkBoxPath with the arg @@ -181,7 +181,7 @@ XInitialization { } else { - System.out.println("no checkbox"); + System.out.println("no checkbox: # of args="+args.length); cbIncrW = 0; cbIncrH = 0; checkBoxDialog=false; @@ -530,7 +530,6 @@ XInitialization { Object objectCheckBox = xControlCont.getControl( _checkBoxName ); _xCheckBox = ( XCheckBox )UnoRuntime.queryInterface( XCheckBox.class, objectCheckBox ); - System.out.println("** never get here?"); } // XEventListener |