summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphProperties.java8
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXParagraph.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
index 570e7b307ca6..d1f134b9f258 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
@@ -102,16 +102,16 @@ import com.sun.star.xml.AttributeData;
public class _ParagraphProperties extends MultiPropertyTest {
/**
* Custom tester for numbering style properties. Switches between
- * 'Numbering 1' and 'Numbering 2' styles.
+ * 'Numbering 123' and 'Numbering ABC' styles.
*/
protected PropertyTester NumberingStyleTester = new PropertyTester() {
@Override
protected Object getNewValue(String propName, Object oldValue)
throws java.lang.IllegalArgumentException {
- if ((oldValue != null) && (oldValue.equals("Numbering 1"))) {
- return "Numbering 2";
+ if ((oldValue != null) && (oldValue.equals("Numbering 123"))) {
+ return "Numbering ABC";
} else {
- return "Numbering 1";
+ return "Numbering 123";
}
}
};
diff --git a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
index 165e270454ef..c32d63b28527 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java
@@ -196,7 +196,7 @@ public class SwXParagraph extends TestCase {
portP = UnoRuntime.queryInterface(XPropertySet.class, port);
paraP = UnoRuntime.queryInterface(XPropertySet.class, para);
- paraP.setPropertyValue("NumberingStyleName","Numbering 4");
+ paraP.setPropertyValue("NumberingStyleName","Numbering IVX");
nRules = paraP.getPropertyValue("NumberingRules");