Kaydet (Commit) 002a0d91 authored tarafından vincent's avatar vincent Kaydeden (comit) Thorsten Behrens

Fix spelling errors and typos: 'unkown' change to 'unknown'

Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94
Reviewed-on: https://gerrit.libreoffice.org/3030Reviewed-by: 's avatarThorsten Behrens <tbehrens@suse.com>
Tested-by: 's avatarThorsten Behrens <tbehrens@suse.com>
üst bdb87236
......@@ -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(
......
......@@ -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)
{
......
......@@ -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)
......
......@@ -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);
......
......@@ -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" ;
};
......
......@@ -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
}
......
......@@ -24,7 +24,7 @@
enum CSS1Token
{
CSS1_NULL,
CSS1_UNKOWN,
CSS1_UNKNOWN,
CSS1_IDENT,
CSS1_STRING,
......
......@@ -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
}
}
......
......@@ -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
}
......
......@@ -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
}
}
......
......@@ -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
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment