diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XPagePrintable.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XPagePrintable.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java index 32868a4c5db1..fcd2c768f1e3 100644 --- a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java +++ b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -122,7 +122,7 @@ public class _XPagePrintable extends MultiMethodTest { try { XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF(); - + String printFile = utils.getOfficeTemp(xMSF) + "XPagePrintable.prt"; log.println("Printing to : "+ printFile); @@ -133,21 +133,21 @@ public class _XPagePrintable extends MultiMethodTest { firstProp.Value = printFile; firstProp.State = com.sun.star.beans.PropertyState.DEFAULT_VALUE; PrintOptions[0] = firstProp; - + if (! util.utils.deleteFile(xMSF, printFile)){ log.println("ERROR: could not remove '" + printFile + "'"); res = false; } - + oObj.printPages(PrintOptions); - + util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT)); - + if (! util.utils.fileExists(xMSF, printFile)){ log.println("ERROR: could not find '" + printFile + "'"); res = false; } - + } catch (com.sun.star.lang.IllegalArgumentException ex) { log.println("Exception while checking 'printPages'"); res = false; |