This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO41X in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push: new a3cca4d209 misc: fix spelling (#182) a3cca4d209 is described below commit a3cca4d20920ce5237b89cb5000c6eb5ffe87428 Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Tue Nov 14 19:28:41 2023 +1000 misc: fix spelling (#182) Thank you very much for your contribution! (cherry picked from commit 402c6fde746b160d73dd806e2d51c38830f54a1e) --- main/sc/source/filter/inc/xlstring.hxx | 4 ++-- main/soltools/javadep/javadep.c | 2 +- main/sw/source/filter/ww8/ww8par.cxx | 4 ++-- main/vcl/inc/unx/XIM.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/main/sc/source/filter/inc/xlstring.hxx b/main/sc/source/filter/inc/xlstring.hxx index 387cc51e76..398d0f3e3a 100644 --- a/main/sc/source/filter/inc/xlstring.hxx +++ b/main/sc/source/filter/inc/xlstring.hxx @@ -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 ================================================ diff --git a/main/soltools/javadep/javadep.c b/main/soltools/javadep/javadep.c index a84be62793..6a1013e118 100644 --- a/main/soltools/javadep/javadep.c +++ b/main/soltools/javadep/javadep.c @@ -398,7 +398,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. diff --git a/main/sw/source/filter/ww8/ww8par.cxx b/main/sw/source/filter/ww8/ww8par.cxx index 30d2f5144a..f9bf88f3dc 100644 --- a/main/sw/source/filter/ww8/ww8par.cxx +++ b/main/sw/source/filter/ww8/ww8par.cxx @@ -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'; diff --git a/main/vcl/inc/unx/XIM.h b/main/vcl/inc/unx/XIM.h index 2143d87965..39fa411e81 100644 --- a/main/vcl/inc/unx/XIM.h +++ b/main/vcl/inc/unx/XIM.h @@ -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; @@ -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"