diff options
author | Robert Antoni Buj i Gelonch <robert.buj@gmail.com> | 2014-10-11 19:44:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-13 09:35:04 +0000 |
commit | 5233d9b8e57aebbfda22a2edcf67e87282ebc66d (patch) | |
tree | 7e0560a7fea17cd98f77981a0073701da93c2f7f /qadevOOo/runner | |
parent | f6d61562d41b8a49449d881da66a3d8fa519487f (diff) |
runner: Object comparison
Change-Id: I41b245f20652187dc36b4639272d0ddbc602afda
Reviewed-on: https://gerrit.libreoffice.org/11921
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/convwatch/OfficePrint.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/convwatch/OfficePrint.java b/qadevOOo/runner/convwatch/OfficePrint.java index 75f117e4bfa6..24eb0b047483 100644 --- a/qadevOOo/runner/convwatch/OfficePrint.java +++ b/qadevOOo/runner/convwatch/OfficePrint.java @@ -570,7 +570,7 @@ public class OfficePrint { { nPropIndex++; } - isBusy = (aPrinterProps[nPropIndex].Value == Boolean.TRUE); + isBusy = aPrinterProps[nPropIndex].Value.equals(Boolean.TRUE); TimeHelper.waitInSeconds(1, "is print ready?"); nPrintCount++; if (nPrintCount > 3600) diff --git a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java index 2ab39107c3ce..0e827b3b0a24 100644 --- a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java +++ b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java @@ -528,7 +528,7 @@ public class OpenOfficePostscriptCreator implements IOffice { nPropIndex++; } - isBusy = (aPrinterProps[nPropIndex].Value == Boolean.TRUE); + isBusy = aPrinterProps[nPropIndex].Value.equals(Boolean.TRUE); TimeHelper.waitInSeconds(1, "is print ready?"); nPrintCount++; if (nPrintCount > 3600) |