summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java')
-rwxr-xr-xqadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
index eaacd4a5966a..e9a0700780f8 100755
--- a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.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
@@ -58,9 +58,9 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
public XTextFieldsSupplier oObj = null; // oObj filled by MultiMethodTest
private boolean mDispose = false;
private boolean mbCreateFieldMaster = true;
-
+
/**
- * Insert some text fields into a cell on the sheet, so this interface test
+ * Insert some text fields into a cell on the sheet, so this interface test
* makes sense.
*/
protected void before() {
@@ -139,10 +139,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace(log);
throw new StatusException("Couldn't insert textField.URL", e);
}
-
+
}
}
-
+
public void _getTextFields() {
XEnumerationAccess xEnumAccess = oObj.getTextFields();
XEnumeration xEnum = xEnumAccess.createEnumeration();
@@ -151,15 +151,15 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
Object o = xEnum.nextElement();
}
catch(com.sun.star.container.NoSuchElementException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
catch(com.sun.star.lang.WrappedTargetException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
}
tRes.tested("getTextFields()", xEnum != null);
}
-
+
public void _getTextFieldMasters() {
if (mbCreateFieldMaster) {
XNameAccess xName = oObj.getTextFieldMasters();
@@ -171,7 +171,7 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
tRes.tested("getTextFieldMasters()", true);
}
}
-
+
/**
* Just for convenience: log the exception and set the method false.
* @param method The name of the method to set to false.
@@ -182,10 +182,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace((PrintWriter)log);
tRes.tested(method, false);
}
-
+
protected void after() {
if (mDispose)
disposeEnvironment();
}
-
+
}