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>
This commit is contained in:
Robert Antoni Buj i Gelonch
2014-10-11 19:44:58 +02:00
committed by Noel Grandin
parent f6d61562d4
commit 5233d9b8e5
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)