You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2024/09/26 16:16:36 UTC
(openoffice) branch AOO42X updated: misc: fix spelling (#190)
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 822bb3caf0 misc: fix spelling (#190)
822bb3caf0 is described below
commit 822bb3caf049d31ddb6a13f321a077d479f0e185
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Fri Sep 27 02:12:56 2024 +1000
misc: fix spelling (#190)
(cherry picked from commit 7b77d5481baf51d434497a3cb44d0500857e9261)
---
test/testuno/source/fvt/uno/sw/frame/FrameWrapType.java | 4 ++--
.../sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/testuno/source/fvt/uno/sw/frame/FrameWrapType.java b/test/testuno/source/fvt/uno/sw/frame/FrameWrapType.java
index ddd307113a..c369174820 100644
--- a/test/testuno/source/fvt/uno/sw/frame/FrameWrapType.java
+++ b/test/testuno/source/fvt/uno/sw/frame/FrameWrapType.java
@@ -100,7 +100,7 @@ public class FrameWrapType {
XNameAccess xTextFrames_odt = xTFS_odt.getTextFrames();
XTextFrame xTextFrame_Assert1=(XTextFrame) UnoRuntime.queryInterface(XTextFrame.class, xTextFrames_odt.getByName("Frame1"));
XPropertySet xTextFrameProps_assert1 = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTextFrame_Assert1);
- WrapTextMode surrond=(WrapTextMode)UnoRuntime.queryInterface(WrapTextMode.class,xTextFrameProps_assert1.getPropertyValue("Surround"));
- assertEquals("assert frame wrap type",FrameWrapType,surrond.getValue());
+ WrapTextMode surround=(WrapTextMode)UnoRuntime.queryInterface(WrapTextMode.class,xTextFrameProps_assert1.getPropertyValue("Surround"));
+ assertEquals("assert frame wrap type",FrameWrapType,surround.getValue());
}
}
diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
index c452214406..1727362a89 100644
--- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
+++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
@@ -1028,7 +1028,7 @@ public class ParagraphNumberingAndBulletCharacterStyle {
assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_doc[11].Value);
}
@Test
- public void testNumberingBulletCharacterStyle_MainIndexEntery() throws Exception {
+ public void testNumberingBulletCharacterStyle_MainIndexEntry() throws Exception {
XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document
xText = xTextDocument.getText();
@@ -1579,7 +1579,7 @@ public class ParagraphNumberingAndBulletCharacterStyle {
assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_doc[11].Name);
assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_doc[11].Value);
} @Test
- public void testNumberingBulletCharacterStyle_UserEntery() throws Exception {
+ public void testNumberingBulletCharacterStyle_UserEntry() throws Exception {
XTextDocument xTextDocument = (XTextDocument) UnoRuntime.queryInterface(XTextDocument.class, app.newDocument("swriter"));// new a text document
xText = xTextDocument.getText();
@@ -1597,7 +1597,7 @@ public class ParagraphNumberingAndBulletCharacterStyle {
propsRule[0].Name = "NumberingType";
propsRule[0].Value = NumberingType.ARABIC;
propsRule[1].Name = "CharStyleName";
- propsRule[1].Value = "User Entery";
+ propsRule[1].Value = "User Entry";
XIndexReplace xReplaceRule = (XIndexReplace) UnoRuntime.queryInterface(XIndexReplace.class, xNumRule);
xReplaceRule.replaceByIndex(0, propsRule);
//set paragraph numbering and bullet character
@@ -1632,7 +1632,7 @@ public class ParagraphNumberingAndBulletCharacterStyle {
PropertyValue[] propsRule_assert_odt=(PropertyValue[]) UnoRuntime.queryInterface(PropertyValue[].class,xReplaceRule_assert_odt.getByIndex(0));
//verify paragraph numbering and bullet alignment
assertEquals("assert numbering and bullet","CharStyleName",propsRule_assert_odt[4].Name);
- assertEquals("assert numbering and bullet","User Entery",propsRule_assert_odt[4].Value);
+ assertEquals("assert numbering and bullet","User Entry",propsRule_assert_odt[4].Value);
assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_odt[11].Name);
assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_odt[11].Value);