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:
committed by
Noel Grandin
parent
f6d61562d4
commit
5233d9b8e5
@@ -570,7 +570,7 @@ public class OfficePrint {
|
|||||||
{
|
{
|
||||||
nPropIndex++;
|
nPropIndex++;
|
||||||
}
|
}
|
||||||
isBusy = (aPrinterProps[nPropIndex].Value == Boolean.TRUE);
|
isBusy = aPrinterProps[nPropIndex].Value.equals(Boolean.TRUE);
|
||||||
TimeHelper.waitInSeconds(1, "is print ready?");
|
TimeHelper.waitInSeconds(1, "is print ready?");
|
||||||
nPrintCount++;
|
nPrintCount++;
|
||||||
if (nPrintCount > 3600)
|
if (nPrintCount > 3600)
|
||||||
|
@@ -528,7 +528,7 @@ public class OpenOfficePostscriptCreator implements IOffice
|
|||||||
{
|
{
|
||||||
nPropIndex++;
|
nPropIndex++;
|
||||||
}
|
}
|
||||||
isBusy = (aPrinterProps[nPropIndex].Value == Boolean.TRUE);
|
isBusy = aPrinterProps[nPropIndex].Value.equals(Boolean.TRUE);
|
||||||
TimeHelper.waitInSeconds(1, "is print ready?");
|
TimeHelper.waitInSeconds(1, "is print ready?");
|
||||||
nPrintCount++;
|
nPrintCount++;
|
||||||
if (nPrintCount > 3600)
|
if (nPrintCount > 3600)
|
||||||
|
Reference in New Issue
Block a user