summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-12-05 13:54:29 +0400
committerYousuf Philips <philipz85@hotmail.com>2017-12-16 12:47:26 +0100
commitaf44ee8991691b9a971901b3de36fa0e1253eac9 (patch)
tree3956f9b19b10f74daf397df1b879a14e113923f6 /qadevOOo
parent95efc0b875f3fd3152da051f27ded52e048151bf (diff)
tdf#106988 New names for the new numbering styles
Change-Id: Ibc93aaa552652d61ac49652cf0ac5fcb68b48a12 Reviewed-on: https://gerrit.libreoffice.org/37995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 74c527abc0f3b5aa0fa179401ad05a79dc889973) Reviewed-on: https://gerrit.libreoffice.org/46147 Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
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");