diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2017-12-05 13:54:29 +0400 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-12-07 22:13:18 +0100 |
commit | 74c527abc0f3b5aa0fa179401ad05a79dc889973 (patch) | |
tree | fd3e842e19a0b56f7d44fe7776b60d28b170f89c /qadevOOo | |
parent | fix fuzzer build (diff) | |
download | core-74c527abc0f3b5aa0fa179401ad05a79dc889973.tar.gz core-74c527abc0f3b5aa0fa179401ad05a79dc889973.zip |
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>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/style/_ParagraphProperties.java | 8 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_sw/SwXParagraph.java | 2 |
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"); |