diff options
Diffstat (limited to 'qadevOOo/runner/graphical/ParameterHelper.java')
-rw-r--r-- | qadevOOo/runner/graphical/ParameterHelper.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/qadevOOo/runner/graphical/ParameterHelper.java b/qadevOOo/runner/graphical/ParameterHelper.java index 6658564ae9e7..4e028583ac4d 100644 --- a/qadevOOo/runner/graphical/ParameterHelper.java +++ b/qadevOOo/runner/graphical/ParameterHelper.java @@ -314,12 +314,7 @@ public class ParameterHelper */ public boolean printAllPages() { - if ( (getMaxPages() > 0) || - (getOnlyPages().length() != 0)) - { - return false; - } - return true; + return !((getMaxPages() > 0) || (getOnlyPages().length() != 0)); } public boolean getOverwrite() @@ -348,13 +343,7 @@ public class ParameterHelper public boolean createSmallPictures() { - // boolean bCreateSmallPictures = true; - boolean bNoSmallPictures = m_aCurrentParams.getBool( PropertyName.NO_SMALL_PICTURES); - if (bNoSmallPictures) - { - return false; - } - return true; + return !m_aCurrentParams.getBool(PropertyName.NO_SMALL_PICTURES); } } |