diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 10:19:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-20 10:35:53 +0200 |
commit | 60f152caeee38579433a31dd3a98e91dc3d23ff6 (patch) | |
tree | 15ba69f938e09bb173ca7de2e1b21b62e740ea40 /qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | |
parent | 2922a967a1da5f9c0a07b5390906307d0ae6fe48 (diff) |
java: avoid unnecessary comparisons in boolean expressions
i.e. stuff like "x == true"
Change-Id: Ib82a4a30e736df392405332fa197b588482cffcf
Diffstat (limited to 'qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java')
-rw-r--r-- | qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java index bca3b38efb15..7dc60e8cac71 100644 --- a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java +++ b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java @@ -490,7 +490,7 @@ public class OpenOfficePostscriptCreator implements IOffice // generate pages string - if (_aGTA.printAllPages() == false) + if (!_aGTA.printAllPages()) { String sPages = ""; if (_aGTA.getMaxPages() > 0) @@ -561,7 +561,7 @@ public class OpenOfficePostscriptCreator implements IOffice bBack = false; } - if (bFailed == true) + if (bFailed) { GlobalLogWriter.println("convwatch.OfficePrint: FAILED"); } |