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 c34b68abfd docs: fix spelling in code comments (#203)
c34b68abfd is described below
commit c34b68abfdce79c1615e90cff097a67e22c536cc
Author: John Bampton <[email protected]>
AuthorDate: Thu Feb 22 02:22:39 2024 +1000
docs: fix spelling in code comments (#203)
(cherry picked from commit c938ccda3ac505248a9f1ba389738d0de385daba)
---
.../src/main/java/org/openoffice/java/accessibility/MenuItem.java | 2 +-
main/accessibility/source/extended/accessiblelistboxentry.cxx | 2 +-
main/filter/source/flash/swfwriter2.cxx | 2 +-
main/l10ntools/source/filter/utils/FileHelper.java | 2 +-
main/offapi/com/sun/star/chart2/Symbol.idl | 2 +-
main/qadevOOo/runner/helper/URLHelper.java | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/MenuItem.java
b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/MenuItem.java
index c040b6a53a..92f214c307 100644
---
a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/MenuItem.java
+++
b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/MenuItem.java
@@ -84,7 +84,7 @@ class MenuItem extends ToggleButton {
// #i56538# menu items in Java do not have SELECTABLE ..
stateSet.remove(javax.accessibility.AccessibleState.SELECTABLE);
- // .. and also ARMED insted of SELECTED
+ // .. and also ARMED instead of SELECTED
if( stateSet.remove(javax.accessibility.AccessibleState.SELECTED) )
stateSet.add(javax.accessibility.AccessibleState.ARMED);
diff --git a/main/accessibility/source/extended/accessiblelistboxentry.cxx
b/main/accessibility/source/extended/accessiblelistboxentry.cxx
index 95b08ef20a..e392070c96 100644
--- a/main/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/main/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -492,7 +492,7 @@ namespace accessibility
{
return getListBox()->GetEntryLongDescription( pEntry );
}
- //want to cout the real column nubmer in the list box.
+ //want to cout the real column number in the list box.
sal_uInt16 iRealItemCount = 0;
sal_uInt16 iCount = 0;
sal_uInt16 iTotleItemCount = pEntry->ItemCount();
diff --git a/main/filter/source/flash/swfwriter2.cxx
b/main/filter/source/flash/swfwriter2.cxx
index 79f2d49208..04eefeed51 100644
--- a/main/filter/source/flash/swfwriter2.cxx
+++ b/main/filter/source/flash/swfwriter2.cxx
@@ -277,7 +277,7 @@ void Tag::writeRect( SvStream& rOut, const Rectangle& rRect
)
maxY = rRect.nTop; minY = rRect.nBottom;
}
- // AS: Figure out the maximum nubmer of bits required to represent any
of the
+ // AS: Figure out the maximum number of bits required to represent any
of the
// rectangle coordinates. Since minX or minY could be negative, they
could
// actually require more bits than maxX or maxY.
// AS: Christian, can they be negative, or is that a wasted check?
diff --git a/main/l10ntools/source/filter/utils/FileHelper.java
b/main/l10ntools/source/filter/utils/FileHelper.java
index 465a6be73c..96304eb26f 100644
--- a/main/l10ntools/source/filter/utils/FileHelper.java
+++ b/main/l10ntools/source/filter/utils/FileHelper.java
@@ -111,7 +111,7 @@ public class FileHelper
/**
* Does the same as getFileURLFromSystemPath() before ... but uses
- * the given protocol string (e.g."http://") insted of "file:///".
+ * the given protocol string (e.g."http://") instead of "file:///".
*
* @param aSystemPath
* represent the file in system notation
diff --git a/main/offapi/com/sun/star/chart2/Symbol.idl
b/main/offapi/com/sun/star/chart2/Symbol.idl
index 58a3905a4e..1a635661c2 100644
--- a/main/offapi/com/sun/star/chart2/Symbol.idl
+++ b/main/offapi/com/sun/star/chart2/Symbol.idl
@@ -87,7 +87,7 @@ struct Symbol
/** The size of the symbol in 100th of a mm.
- @todo use a structure using doubles insted of longs
+ @todo use a structure using doubles instead of longs
*/
com::sun::star::awt::Size
Size;
diff --git a/main/qadevOOo/runner/helper/URLHelper.java
b/main/qadevOOo/runner/helper/URLHelper.java
index 191edc4b59..e3bfb84d1d 100644
--- a/main/qadevOOo/runner/helper/URLHelper.java
+++ b/main/qadevOOo/runner/helper/URLHelper.java
@@ -111,7 +111,7 @@ public class URLHelper
/**
* Does the same as getFileURLFromSystemPath() before ... but uses
- * the given protocol string (e.g."http://") insted of "file:///".
+ * the given protocol string (e.g."http://") instead of "file:///".
*
* @param aSystemPath
* represent the file in system notation