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 cb0d8eb66c Fix spelling (#234)
cb0d8eb66c is described below
commit cb0d8eb66c580429875a970503805e9bb363798d
Author: John Bampton <[email protected]>
AuthorDate: Sat Dec 28 21:27:36 2024 +1000
Fix spelling (#234)
(cherry picked from commit 9e6a6d7c97e12ac62a7c1e1d062285354748976e)
---
main/cppu/inc/typelib/typedescription.h | 2 +-
.../source/ext/macromigration/migrationengine.cxx | 4 ++--
.../tests/java/ifc/beans/_XPropertyAccess.java | 24 +++++++++++-----------
.../tests/java/ifc/beans/_XPropertyContainer.java | 6 +++---
.../tests/java/ifc/view/_XFormLayerAccess.java | 10 ++++-----
main/sw/source/ui/vba/vbaselection.cxx | 2 +-
main/ucb/source/ucp/tdoc/tdoc_content.cxx | 6 +++---
7 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/main/cppu/inc/typelib/typedescription.h
b/main/cppu/inc/typelib/typedescription.h
index 4901ae44c3..dfaf49bc90 100644
--- a/main/cppu/inc/typelib/typedescription.h
+++ b/main/cppu/inc/typelib/typedescription.h
@@ -1141,7 +1141,7 @@ inline void TYPELIB_DANGER_GET( typelib_TypeDescription**
ppMacroTypeDescr,
}
}
-/** Releases the description previouse fetched by TYPELIB_DANGER_GET.
+/** Releases the description previously fetched by TYPELIB_DANGER_GET.
@internal
*/
inline void TYPELIB_DANGER_RELEASE( typelib_TypeDescription* pDescription )
diff --git a/main/dbaccess/source/ext/macromigration/migrationengine.cxx
b/main/dbaccess/source/ext/macromigration/migrationengine.cxx
index 1de7ef8089..4b84f079f7 100644
--- a/main/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/main/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -1043,7 +1043,7 @@ namespace dbmm
if ( !impl_handleDocument_nothrow( *doc ) )
return false;
- // update overall progress vallue
+ // update overall progress value
m_rProgress.setOverallProgressValue( nOverallProgressValue );
}
@@ -1271,7 +1271,7 @@ namespace dbmm
// "too many" invalid characters, or the name composed with the
base name was already used.
// (The latter is valid, since there can be multiple sub documents
with the same base name,
// in different levels in the hierarchy.)
- // In this case, just use the umambiguous sub document number.
+ // In this case, just use the unambiguous sub document number.
::rtl::OUStringBuffer aNewLibName;
aNewLibName.append( sPrefix );
aNewLibName.append( ::rtl::OUString::valueOf( sal_Int64(
_rDocument.nNumber ) ) );
diff --git a/main/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
b/main/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
index d4809b6ca6..7149ba45fa 100644
--- a/main/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
+++ b/main/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
@@ -63,12 +63,12 @@ public class _XPropertyAccess extends MultiMethodTest {
public void before() {
propertyToChange = (PropertyValue)
tEnv.getObjRelation("XPropertyAccess.propertyToChange");
if (propertyToChange == null) {
- throw new StatusException(Status.failed("Object raltion
'XPropertyAccess.propertyToChange' is null"));
+ throw new StatusException(Status.failed("Object relation
'XPropertyAccess.propertyToChange' is null"));
}
}
/**
- * Test calls the method and checks if the returned sequenze contanis a
propterty which is named
+ * Test calls the method and checks if the returned sequence contains a
property which is named
* in the object relation <code>XPropertyAccess.propertyToChange</code>.
*/
public void _getPropertyValues() {
@@ -103,7 +103,7 @@ public class _XPropertyAccess extends MultiMethodTest {
* <CODE>XPropertyAccess.propertyToChange</CODE> has changed</LI>
* <li><CODE>com.sun.star.lang.IllegalArgumentException</CODE> was
thrown if a <CODE>Integer</CODE>
* value was set to a <CODE>String</CODE> property</LI>
- * <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was
throen if an invalid property
+ * <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was
thrown if an invalid property
* was set</LI>
* </ul>
*/
@@ -117,7 +117,7 @@ public class _XPropertyAccess extends MultiMethodTest {
PropertyValue[] newProps = new PropertyValue[1];
newProps[0] = propertyToChange;
- log.println("try to set property vlaues given by object relation
'XPropertyAccess.propertyToChange'...");
+ log.println("try to set property values given by object relation
'XPropertyAccess.propertyToChange'...");
oObj.setPropertyValues(newProps);
} catch (UnknownPropertyException ex) {
@@ -155,20 +155,20 @@ public class _XPropertyAccess extends MultiMethodTest {
newProps[0] = failedProp;
oObj.setPropertyValues(newProps);
} catch (PropertyVetoException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set null value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set null value: " +
ex.toString());
exp = true;
} catch (WrappedTargetException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set null value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set null value: " +
ex.toString());
exp = true;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
- log.println("OK: exptected exception was thrown while trying to
set null value: " +
+ log.println("OK: expected exception was thrown while trying to set
null value: " +
ex.toString());
test = true;
exp = true;
} catch (UnknownPropertyException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set null value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set null value: " +
ex.toString());
exp = true;
}
@@ -196,19 +196,19 @@ public class _XPropertyAccess extends MultiMethodTest {
oObj.setPropertyValues(newProps);
} catch (WrappedTargetException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set invalid value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set invalid value: " +
ex.toString());
exp = true;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set invalid value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set invalid value: " +
ex.toString());
exp = true;
} catch (PropertyVetoException ex) {
- log.println("ERROR: unexptected exception was thrown while trying
to set invalid value: " +
+ log.println("ERROR: unexpected exception was thrown while trying
to set invalid value: " +
ex.toString());
exp = true;
} catch (UnknownPropertyException ex) {
- log.println("OK: Exptected exception was thrown while trying to
set invalid value: " +
+ log.println("OK: Expected exception was thrown while trying to set
invalid value: " +
ex.toString());
exp = true;
test = true;
diff --git a/main/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
b/main/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
index bb4330f41e..5e18fe3c93 100644
--- a/main/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
+++ b/main/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
@@ -63,14 +63,14 @@ public class _XPropertyContainer extends MultiMethodTest {
public void before() {
propertyNotRemovable = (String)
tEnv.getObjRelation("XPropertyContainer.propertyNotRemovable");
if (propertyNotRemovable == null) {
- throw new StatusException(Status.failed("Object raltion
'XPropertyAccess.propertyNotRemovable' is null"));
+ throw new StatusException(Status.failed("Object relation
'XPropertyAccess.propertyNotRemovable' is null"));
}
}
/**
- * Test calls the method and checks if the returned sequence contanis a
propterty which is named
+ * Test calls the method and checks if the returned sequence contains a
property which is named
* in the object relation
<code>XPropertyAccess.propertyNotRemovable</code>.
*/
public void _addProperty() {
@@ -219,7 +219,7 @@ public class _XPropertyContainer extends MultiMethodTest {
}
/**
- * Test calls the method and checks if the returned sequence contanis a
propterty which is named
+ * Test calls the method and checks if the returned sequence contains a
property which is named
* in the object relation
<code>XPropertyAccess.propertyNotRemovable</code>.
*/
public void _removeProperty() {
diff --git a/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
b/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
index 0cb5221a4e..509122b93b 100644
--- a/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
+++ b/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
@@ -41,7 +41,7 @@ import lib.StatusException;
* <li><code> setFormDesignMode()</code></li>
* </ul> <p>
*
- * Test is <b> NOT </b> multithread compilant. <p>
+ * Test is <b> NOT </b> multithread compliant. <p>
* @see com.sun.star.view.XFormLayerAccess
*/
public class _XFormLayerAccess extends MultiMethodTest {
@@ -59,12 +59,12 @@ public class _XFormLayerAccess extends MultiMethodTest {
public void before() {
xForm = (XForm) tEnv.getObjRelation("XFormLayerAccess.XForm");
if (xForm == null) {
- throw new StatusException(Status.failed("Object raltion
'XFormLayerAccess.XForm' is null"));
+ throw new StatusException(Status.failed("Object relation
'XFormLayerAccess.XForm' is null"));
}
}
/**
- * Test disables the FormDesignMode and calls the mthod. <p>
+ * Test disables the FormDesignMode and calls the method. <p>
* Has <b> OK </b> status if the method returns
* a not empty object of kind of com.sun.star.form.XFormController<P>
* The following method tests are to be completed successfully before :
@@ -87,9 +87,9 @@ public class _XFormLayerAccess extends MultiMethodTest {
XFormController xFormCont = oObj.getFormController(xForm);
if (xFormCont == null)
- log.println("ERROR: Could not get FromContoller");
+ log.println("ERROR: Could not get FromController");
- log.println("set back DesignMode to previouse state");
+ log.println("set back DesignMode to previous state");
oObj.setFormDesignMode(currentMode);
tRes.tested("getFromController()", xFormCont != null );
diff --git a/main/sw/source/ui/vba/vbaselection.cxx
b/main/sw/source/ui/vba/vbaselection.cxx
index 132f4fb3bb..8606219408 100644
--- a/main/sw/source/ui/vba/vbaselection.cxx
+++ b/main/sw/source/ui/vba/vbaselection.cxx
@@ -545,7 +545,7 @@ uno::Any SAL_CALL SwVbaSelection::Information( sal_Int32
_type ) throw (uno::Run
default:
throw uno::RuntimeException( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference<
uno::XInterface >() );
}
- // This method fails to restore the previouse selection
+ // This method fails to restore the previous selection
//xSel->select( aSelectedObject );
return result;
}
diff --git a/main/ucb/source/ucp/tdoc/tdoc_content.cxx
b/main/ucb/source/ucp/tdoc/tdoc_content.cxx
index a19b5d2bf8..41d923acd6 100644
--- a/main/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/main/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -906,7 +906,7 @@ sal_Bool Content::exchangeIdentity(
return sal_False;
}
- // Exchange own identitity.
+ // Exchange own identity.
// Fail, if a content with given id already exists.
if ( !hasData( Uri( xNewId->getContentIdentifier() ) ) )
@@ -918,7 +918,7 @@ sal_Bool Content::exchangeIdentity(
{
if ( eType == FOLDER )
{
- // Process instanciated children...
+ // Process instantiated children...
ContentRefList aChildren;
queryChildren( aChildren );
@@ -2166,7 +2166,7 @@ void Content::transfer(
uno::makeAny( lang::IllegalArgumentException(
rtl::OUString::createFromAscii(
"Invalid source URI! "
- "Unabale to determine source type!" ),
+ "Unable to determine source type!" ),
static_cast< cppu::OWeakObject * >( this ),
-1 ) ),
xEnv );