Skip to content

Commit

Permalink
docs: fix spelling in code comments (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Feb 21, 2024
1 parent 239796a commit c938ccd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/flash/swfwriter2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion main/l10ntools/source/filter/utils/FileHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main/offapi/com/sun/star/chart2/Symbol.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c938ccd

Please sign in to comment.