From 5233d9b8e57aebbfda22a2edcf67e87282ebc66d Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj i Gelonch Date: Sat, 11 Oct 2014 19:44:58 +0200 Subject: runner: Object comparison Change-Id: I41b245f20652187dc36b4639272d0ddbc602afda Reviewed-on: https://gerrit.libreoffice.org/11921 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- qadevOOo/runner/convwatch/OfficePrint.java | 2 +- qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'qadevOOo/runner') 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) -- cgit