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/11/26 10:17:46 UTC

(openoffice) branch trunk updated: misc: fix spelling (#185)

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 07225a5114 misc: fix spelling (#185)
07225a5114 is described below

commit 07225a5114337e103be90ecef3d7824f6e2778ac
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sun Nov 26 20:17:40 2023 +1000

    misc: fix spelling (#185)
    
    I think we are OK!
---
 main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl        | 2 +-
 main/vbahelper/source/msforms/vbacontrol.cxx                      | 2 +-
 test/testcommon/source/org/openoffice/test/common/SystemUtil.java | 2 +-
 test/testuno/source/fvt/uno/sw/field/SubjectField.java            | 6 +++---
 test/testuno/source/fvt/uno/sw/field/TitleField.java              | 6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl b/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
index 9522b8c05d..16c743112e 100644
--- a/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
+++ b/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
@@ -305,7 +305,7 @@
                         </w:right>
                     </xsl:if>
                 </w:tcMar>
-                <!-- the following code is to get the cell borders if they exsits Gary.Yang-->
+                <!-- the following code is to get the cell borders if they exists Gary.Yang-->
                 <xsl:variable name="border-top" select="$cell-style-properties/@fo:border-top | $cell-style-properties/@fo:border"/>
                 <xsl:variable name="border-bottom" select="$cell-style-properties/@fo:border-bottom | $cell-style-properties/@fo:border"/>
                 <xsl:variable name="border-left" select="$cell-style-properties/@fo:border-left | $cell-style-properties/@fo:border"/>
diff --git a/main/vbahelper/source/msforms/vbacontrol.cxx b/main/vbahelper/source/msforms/vbacontrol.cxx
index fd10aba54c..ee139470d2 100644
--- a/main/vbahelper/source/msforms/vbacontrol.cxx
+++ b/main/vbahelper/source/msforms/vbacontrol.cxx
@@ -86,7 +86,7 @@ ScVbaControl::getWindowPeer() throw (uno::RuntimeException)
     }
     catch( uno::Exception )
     {
-        throw uno::RuntimeException( rtl::OUString::createFromAscii( "The Control does not exsit" ),
+        throw uno::RuntimeException( rtl::OUString::createFromAscii( "The Control does not exist" ),
                 uno::Reference< uno::XInterface >() );
     }
     return xWinPeer;
diff --git a/test/testcommon/source/org/openoffice/test/common/SystemUtil.java b/test/testcommon/source/org/openoffice/test/common/SystemUtil.java
index a1459911c6..d8cc771771 100644
--- a/test/testcommon/source/org/openoffice/test/common/SystemUtil.java
+++ b/test/testcommon/source/org/openoffice/test/common/SystemUtil.java
@@ -122,7 +122,7 @@ public class SystemUtil {
 		// if (OS.get() == OS.MACOSX) {
 		// // workaround MAC OS X has a bug. After setting a text into
 		// clipboard, the java program will not
-		// // receive the data written by other apllications.
+		// // receive the data written by other applications.
 		// File file = null;
 		// try {
 		// file = File.createTempFile("SystemUtil", "SystemUtil");
diff --git a/test/testuno/source/fvt/uno/sw/field/SubjectField.java b/test/testuno/source/fvt/uno/sw/field/SubjectField.java
index 33b2e6fe8b..94df6d7892 100644
--- a/test/testuno/source/fvt/uno/sw/field/SubjectField.java
+++ b/test/testuno/source/fvt/uno/sw/field/SubjectField.java
@@ -90,12 +90,12 @@ public class SubjectField {
 		String subjectStr = "Test Subject Field";
 		createSubjectFiled(odtDocument);
 	
-		assertTrue("Verify Subject field is created use exsit subject", isContainSubjectField(odtDocument, "UNO API Subject"));
-		assertTrue("Verify Subject field is created use exsit subject, can get text from document", 
+		assertTrue("Verify Subject field is created use exist subject", isContainSubjectField(odtDocument, "UNO API Subject"));
+		assertTrue("Verify Subject field is created use exist subject, can get text from document",
 				isContainSubjectText(odtDocument, "UNO API Subject"));
 		//Set subject 
 		SWUtil.setDocumentProperty(odtDocument, "Subject", subjectStr);
-		//Verfiy after set subject
+		//Verify after set subject
 		assertTrue("Verify Subject field is created, can get text from document", 
 				isContainSubjectText(odtDocument, subjectStr));
 		
diff --git a/test/testuno/source/fvt/uno/sw/field/TitleField.java b/test/testuno/source/fvt/uno/sw/field/TitleField.java
index 87cb1498d9..ff3a5d3c18 100644
--- a/test/testuno/source/fvt/uno/sw/field/TitleField.java
+++ b/test/testuno/source/fvt/uno/sw/field/TitleField.java
@@ -91,12 +91,12 @@ public class TitleField {
 		String titleStr = "Title Test";
 		createTitleFiled(odtDocument);
 	
-		assertTrue("Verify Title field is created use exsit Title", isContainTitleField(odtDocument, titleStr));
-		assertTrue("Verify Title field is created use exsit Title, can get text from document", 
+		assertTrue("Verify Title field is created use exist Title", isContainTitleField(odtDocument, titleStr));
+		assertTrue("Verify Title field is created use exist Title, can get text from document",
 				isContainTitleText(odtDocument, titleStr));
 		//Set Title 
 		SWUtil.setDocumentProperty(odtDocument, "Title", titleStr);
-		//Verfiy after set Title
+		//Verify after set Title
 		assertTrue("Verify Title field is created, can get text from document", 
 				isContainTitleText(odtDocument, titleStr));