Skip to content

Commit

Permalink
misc: fix spelling (#182)
Browse files Browse the repository at this point in the history
Thank you very much for your contribution!
  • Loading branch information
jbampton authored Nov 14, 2023
1 parent 3f92111 commit 402c6fd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions main/sc/source/filter/inc/xlstring.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const sal_uInt8 EXC_STRF_UNKNOWN = 0xF2;
// Fixed-size characters
const sal_uInt8 EXC_LF_C = '\x0A'; /// LF character (used for line break).
const sal_uInt16 EXC_LF = EXC_LF_C; /// LF character (unicode).
const sal_uInt8 EXC_NUL_C = '\x00'; /// NUL chararcter.
const sal_uInt16 EXC_NUL = EXC_NUL_C; /// NUL chararcter (unicode).
const sal_uInt8 EXC_NUL_C = '\x00'; /// NUL character.
const sal_uInt16 EXC_NUL = EXC_NUL_C; /// NUL character (unicode).

// Rich-string formatting runs ================================================

Expand Down
2 changes: 1 addition & 1 deletion main/soltools/javadep/javadep.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ is_inner(const char *pstr)
/*
* note that a '$' in a classname is not an exact indicator
* for an inner class. Java identifier may legally contain
* this chararcter, and so may classnames. In the context
* this character, and so may classnames. In the context
* of javadep this doesn't matter since the makefile system
* can't cope with classfiles with '$'s in the filename
* anyway.
Expand Down
4 changes: 2 additions & 2 deletions main/sw/source/filter/ww8/ww8par.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ void lclIgnoreString32( SvMemoryStream& rStrm, bool b16Bit )
String SwWW8ImplReader::ReadRawUniString( SvMemoryStream& rStrm,sal_uInt16 nChars, bool b16Bit )
{
// Fixed-size characters
const sal_uInt8 WW8_NUL_C = '\x00'; /// NUL chararcter.
const sal_uInt16 WW8_NUL = WW8_NUL_C; /// NUL chararcter (unicode).
const sal_uInt8 WW8_NUL_C = '\x00'; /// NUL character.
const sal_uInt16 WW8_NUL = WW8_NUL_C; /// NUL character (unicode).
String aRet;
sal_Unicode mcNulSubst = '\0';

Expand Down
6 changes: 3 additions & 3 deletions main/vcl/inc/unx/XIM.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ typedef enum {
XIMKatakana, XIMHanzi
} XIMUnicodeCharacterSubsetID;

typedef struct _XIMUncodeSubset {
typedef struct _XIMUnicodeSubset {
XIMUnicodeCharacterSubsetID index;
XIMUnicodeCharacterSubsetID subset_id;
char *name;
Bool is_active;
} XIMUnicodeCharacterSubset;

typedef struct _XIMUncodeSubsets {
typedef struct _XIMUnicodeSubsets {
unsigned short count_subsets;
XIMUnicodeCharacterSubset *supported_subsets;
} XIMUnicodeCharacterSubsets;
Expand All @@ -120,7 +120,7 @@ typedef struct _XIMSwitchIMNotifyCallbackStruct {

/* XIC attributes for multilingual IM extension */

#define XNUnicodeCharacterSubset "UnicodeChararcterSubset"
#define XNUnicodeCharacterSubset "UnicodeCharacterSubset"

#define XNSwitchIMNotifyCallback "switchIMNotifyCallback"
#define XNCommitStringCallback "commitStringCallback"
Expand Down

0 comments on commit 402c6fd

Please sign in to comment.