autodoc/inc/ary/idl/ik_ce.hxx | 4 ---- lingucomponent/source/languageguessing/guess.cxx | 4 ++-- starmath/inc/starmath.hrc | 2 +- starmath/source/parse.cxx | 2 +- starmath/source/smres.src | 2 +- svtools/source/config/menuoptions.cxx | 2 +- sw/source/filter/html/parcss1.hxx | 2 +- unotools/source/config/fontoptions.cxx | 2 +- unotools/source/config/localisationoptions.cxx | 2 +- unotools/source/config/securityoptions.cxx | 2 +- unotools/source/config/workingsetoptions.cxx | 2 +- 11 files changed, 11 insertions(+), 15 deletions(-)
New commits: commit 002a0d91e4b0d8214656741192ec3260a8764a73 Author: vincent <vincentgsoc2...@gmail.com> Date: Fri Mar 22 22:11:49 2013 +0800 Fix spelling errors and typos: 'unkown' change to 'unknown' Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehr...@suse.com> Tested-by: Thorsten Behrens <tbehr...@suse.com> diff --git a/autodoc/inc/ary/idl/ik_ce.hxx b/autodoc/inc/ary/idl/ik_ce.hxx index 3b0e59f..f86994d 100644 --- a/autodoc/inc/ary/idl/ik_ce.hxx +++ b/autodoc/inc/ary/idl/ik_ce.hxx @@ -107,10 +107,6 @@ struct doc TagVersion( const CodeEntity & i_ce ); - void Get_UnkownTags( - Dyn_CeIterator & o_result, - const CodeEntity & i_ce ); - bool IsDeprecated( const CodeEntity & i_ce ); bool IsIncomplete( diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index fa07ba9..f107e72 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -53,11 +53,11 @@ Guess::Guess(const char * guess_str) string enc; //if the guess is not like "UNKNOWN" or "SHORT", go into the brackets -// if(strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN, strlen(_TEXTCAT_RESULT_UNKOWN)) != 0 +// if(strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN, strlen(_TEXTCAT_RESULT_UNKNOWN)) != 0 // && // strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT, strlen(_TEXTCAT_RESULT_SHORT)) != 0) // { - if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN) != 0 + if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN) != 0 && strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT) != 0) { diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index 64357f9..ed1eb26 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -117,7 +117,7 @@ #define STR_CMDBOXWINDOW (RID_APP_START + 825) #define RID_ERR_IDENT (RID_APP_START + 920) -#define RID_ERR_UNKOWN (RID_APP_START + 921) +#define RID_ERR_UNKNOWN (RID_APP_START + 921) #define RID_ERR_UNEXPECTEDCHARACTER (RID_APP_START + 922) #define RID_ERR_LGROUPEXPECTED (RID_APP_START + 923) #define RID_ERR_RGROUPEXPECTED (RID_APP_START + 924) diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 95bda3b..b05345d 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2505,7 +2505,7 @@ size_t SmParser::AddError(SmParseError Type, SmNode *pNode) case PE_RIGHT_EXPECTED: nRID = RID_ERR_RIGHTEXPECTED; break; default: - nRID = RID_ERR_UNKOWN; + nRID = RID_ERR_UNKNOWN; } pErrDesc->Text += SM_RESSTR(nRID); diff --git a/starmath/source/smres.src b/starmath/source/smres.src index 3fd07cf..0e5ebf5 100644 --- a/starmath/source/smres.src +++ b/starmath/source/smres.src @@ -1611,7 +1611,7 @@ String RID_ERR_IDENT Text [ en-US ] = "ERROR : " ; }; -String RID_ERR_UNKOWN +String RID_ERR_UNKNOWN { Text [ en-US ] = "Unknown error occurred" ; }; diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 942417a..0680e05 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -335,7 +335,7 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) } #if OSL_DEBUG_LEVEL > 1 - else DBG_ASSERT( sal_False, "SvtMenuOptions_Impl::Notify()\nUnkown property detected ... I can't handle these!\n" ); + else DBG_ASSERT( sal_False, "SvtMenuOptions_Impl::Notify()\nUnknown property detected ... I can't handle these!\n" ); #endif } diff --git a/sw/source/filter/html/parcss1.hxx b/sw/source/filter/html/parcss1.hxx index a954a4c..2082019 100644 --- a/sw/source/filter/html/parcss1.hxx +++ b/sw/source/filter/html/parcss1.hxx @@ -24,7 +24,7 @@ enum CSS1Token { CSS1_NULL, - CSS1_UNKOWN, + CSS1_UNKNOWN, CSS1_IDENT, CSS1_STRING, diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx index 768e4f9..16c616d 100644 --- a/unotools/source/config/fontoptions.cxx +++ b/unotools/source/config/fontoptions.cxx @@ -223,7 +223,7 @@ void SvtFontOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) seqValues[nProperty] >>= m_bFontWYSIWYG; } #if OSL_DEBUG_LEVEL > 1 - else DBG_ASSERT( sal_False, "SvtFontOptions_Impl::Notify()\nUnkown property detected ... I can't handle these!\n" ); + else DBG_ASSERT( sal_False, "SvtFontOptions_Impl::Notify()\nUnknown property detected ... I can't handle these!\n" ); #endif } } diff --git a/unotools/source/config/localisationoptions.cxx b/unotools/source/config/localisationoptions.cxx index e87fe21..aa24218 100644 --- a/unotools/source/config/localisationoptions.cxx +++ b/unotools/source/config/localisationoptions.cxx @@ -206,7 +206,7 @@ void SvtLocalisationOptions_Impl::Notify( const Sequence< OUString >& seqPropert seqValues[nProperty] >>= m_nDialogScale; } #if OSL_DEBUG_LEVEL > 1 - else DBG_ASSERT( sal_False, "SvtLocalisationOptions_Impl::Notify()\nUnkown property detected ... I can't handle these!\n" ); + else DBG_ASSERT( sal_False, "SvtLocalisationOptions_Impl::Notify()\nUnknown property detected ... I can't handle these!\n" ); #endif } diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index 1dc372d..94585fb 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -443,7 +443,7 @@ void SvtSecurityOptions_Impl::SetProperty( sal_Int32 nProperty, const Any& rValu #if OSL_DEBUG_LEVEL > 1 default: - DBG_ASSERT( false, "SvtSecurityOptions_Impl::SetProperty()\nUnkown property!\n" ); + DBG_ASSERT( false, "SvtSecurityOptions_Impl::SetProperty()\nUnknown property!\n" ); #endif } } diff --git a/unotools/source/config/workingsetoptions.cxx b/unotools/source/config/workingsetoptions.cxx index c0ad1e3..0ea5c47 100644 --- a/unotools/source/config/workingsetoptions.cxx +++ b/unotools/source/config/workingsetoptions.cxx @@ -201,7 +201,7 @@ void SvtWorkingSetOptions_Impl::Notify( const Sequence< OUString >& seqPropertyN seqValues[nProperty] >>= m_seqWindowList; } #if OSL_DEBUG_LEVEL > 1 - else DBG_ASSERT( sal_False, "SvtWorkingSetOptions_Impl::Notify()\nUnkown property detected ... I can't handle these!\n" ); + else DBG_ASSERT( sal_False, "SvtWorkingSetOptions_Impl::Notify()\nUnknown property detected ... I can't handle these!\n" ); #endif } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits