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 2023/12/01 17:25:18 UTC

(openoffice) branch AOO42X updated: misc: fix spelling (#188)

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 e29da1cf07 misc: fix spelling (#188)
e29da1cf07 is described below

commit e29da1cf076ddfedcf29be845c4ca9a8c9ebaa6b
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sat Dec 2 03:12:27 2023 +1000

    misc: fix spelling (#188)
    
    (cherry picked from commit 658724749b24075f388495ec64d7dee08bfc1db1)
---
 main/vcl/source/window/toolbox.cxx                                    | 2 +-
 test/testgui/source/fvt/gui/sc/subtotals/SubtotalsFunctions.java      | 4 ++--
 test/testuno/source/fvt/uno/ffc/FFCTest.java                          | 4 ++--
 .../uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java   | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/main/vcl/source/window/toolbox.cxx b/main/vcl/source/window/toolbox.cxx
index dcf1304d7b..b05098d13d 100644
--- a/main/vcl/source/window/toolbox.cxx
+++ b/main/vcl/source/window/toolbox.cxx
@@ -4236,7 +4236,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
             ++it;
         }
 
-        // was a new entery selected ?
+        // was a new entry selected ?
 		// don't change selection if keyboard selection is active and
         // mouse leaves the toolbox
         if ( nNewPos != mnCurPos && !( HasFocus() && nNewPos == TOOLBOX_ITEM_NOTFOUND ) )
diff --git a/test/testgui/source/fvt/gui/sc/subtotals/SubtotalsFunctions.java b/test/testgui/source/fvt/gui/sc/subtotals/SubtotalsFunctions.java
index a6ecef1509..1b72f02163 100644
--- a/test/testgui/source/fvt/gui/sc/subtotals/SubtotalsFunctions.java
+++ b/test/testgui/source/fvt/gui/sc/subtotals/SubtotalsFunctions.java
@@ -236,10 +236,10 @@ public class SubtotalsFunctions {
 		scSubTotalsOptionsTabPage.select();
 		assertFalse("Wrong default value of InsertPageBreak checkbox",scSubtotalsInsertPageBreakCheckBox.isChecked());
 		assertFalse("Wrong default value of CaseSensitive checkbox",scSubtotalsCaseSensitiveCheckBox.isChecked());
-		assertTrue("Worng default value of PreSortToGroup checkbox",scSubtotalsPreSortToGroupCheckBox.isChecked());
+		assertTrue("Wrong default value of PreSortToGroup checkbox",scSubtotalsPreSortToGroupCheckBox.isChecked());
 		assertTrue("Wrong default value of SortAscending Radio button",scSubtotalSortAscendingRadioButton.isChecked());
 		assertFalse("Wrong default value of SortDescending Radio button",scSubtotalSortDescendingRadioButton.isChecked());
-		assertFalse("Wrong default value of InludeFormat checkbox",scSubtotalsIncludeFormatsCheckBox.isChecked());
+		assertFalse("Wrong default value of IncludeFormat checkbox",scSubtotalsIncludeFormatsCheckBox.isChecked());
 		assertFalse("Wrong default value of CustomSortOrder checkbox",scSubtotalsCustomSortOrderCheckBox.isChecked());
 		assertFalse("Wrong default value of CustomSort listbox",scSubtotalsCustomSortListBox.isEnabled());
 		scSubTotalsOptionsTabPage.ok();
diff --git a/test/testuno/source/fvt/uno/ffc/FFCTest.java b/test/testuno/source/fvt/uno/ffc/FFCTest.java
index ad3fb6afa8..aa6415472e 100644
--- a/test/testuno/source/fvt/uno/ffc/FFCTest.java
+++ b/test/testuno/source/fvt/uno/ffc/FFCTest.java
@@ -53,7 +53,7 @@ import com.sun.star.lang.IllegalArgumentException;
 import com.sun.star.lang.XComponent;
 import com.sun.star.uno.UnoRuntime;
 /**
- * Pls place a suite file in directory "suite" which is same level with test uno. like bewlow
+ * Pls place a suite file in directory "suite" which is same level with test uno. like below
  * -suite
  * -testuno
  * The suite file content is like this format
@@ -232,7 +232,7 @@ public class FFCTest {
 		// close this document
 		app.closeDocument(xComponent);
 		File pdfFile = new File(saveAsFilePath);
-		Assert.assertTrue("Verify sampe file " + testFilePath + " exprot to pdf!", pdfFile.exists());
+		Assert.assertTrue("Verify sample file " + testFilePath + " export to pdf!", pdfFile.exists());
 	}
 	
 	public static void initMap() {
diff --git a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
index 3fe1210e32..c452214406 100644
--- a/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
+++ b/test/testuno/source/fvt/uno/sw/paragraph/ParagraphNumberingAndBulletCharacterStyle.java
@@ -1046,7 +1046,7 @@ public class ParagraphNumberingAndBulletCharacterStyle {
 		propsRule[0].Name = "NumberingType";
 		propsRule[0].Value = NumberingType.ARABIC;
 		propsRule[1].Name = "CharStyleName";
-		propsRule[1].Value = "Main index entery";	
+		propsRule[1].Value = "Main index entry";
 		XIndexReplace xReplaceRule = (XIndexReplace) UnoRuntime.queryInterface(XIndexReplace.class, xNumRule);
 		xReplaceRule.replaceByIndex(0, propsRule);  
 		//set paragraph numbering and bullet character
@@ -1081,7 +1081,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","Main index entery",propsRule_assert_odt[4].Value);
+		assertEquals("assert numbering and bullet","Main index 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);