qadevOOo/runner/convwatch/OfficePrint.java                 |    2 +-
 qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5233d9b8e57aebbfda22a2edcf67e87282ebc66d
Author: Robert Antoni Buj i Gelonch <robert....@gmail.com>
Date:   Sat Oct 11 19:44:58 2014 +0200

    runner: Object comparison
    
    Change-Id: I41b245f20652187dc36b4639272d0ddbc602afda
    Reviewed-on: https://gerrit.libreoffice.org/11921
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>
    Tested-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/qadevOOo/runner/convwatch/OfficePrint.java 
b/qadevOOo/runner/convwatch/OfficePrint.java
index 75f117e..24eb0b0 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 2ab3910..0e827b3 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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to