From 1693f638106fb6b47d4c23369b13cd80eb976329 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Thu, 22 Feb 2024 02:07:23 +1000 Subject: [PATCH] docs: fix spelling in code comments --- .../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 +- .../qadevOOo/java/OOoRunner/src/main/java/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 @@ public javax.accessibility.AccessibleStateSet getAccessibleStateSet() { // #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 static java.lang.String getFileURLFromSystemPath(java.lang.String sSystem /** * 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/java/OOoRunner/src/main/java/helper/URLHelper.java b/main/qadevOOo/java/OOoRunner/src/main/java/helper/URLHelper.java index 191edc4b59..e3bfb84d1d 100644 --- a/main/qadevOOo/java/OOoRunner/src/main/java/helper/URLHelper.java +++ b/main/qadevOOo/java/OOoRunner/src/main/java/helper/URLHelper.java @@ -111,7 +111,7 @@ public static String getFileURLFromSystemPath( String sSystemPath ) /** * 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