[PATCH] Fix spelling errors and typos: 'unkown' change to 'unknown'
Thomas Arnhold (via Code Review)
gerrit at gerrit.libreoffice.org
Mon Mar 25 05:34:55 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3030
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/30/3030/1
Fix spelling errors and typos: 'unkown' change to 'unknown'
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94
---
M autodoc/inc/ary/idl/ik_ce.hxx
M lingucomponent/source/languageguessing/guess.cxx
M starmath/inc/starmath.hrc
M starmath/source/parse.cxx
M starmath/source/smres.src
M svtools/source/config/menuoptions.cxx
M sw/source/filter/html/parcss1.hxx
M unotools/source/config/fontoptions.cxx
M unotools/source/config/localisationoptions.cxx
M unotools/source/config/securityoptions.cxx
M unotools/source/config/workingsetoptions.cxx
11 files changed, 11 insertions(+), 15 deletions(-)
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 @@
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 @@
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 @@
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 @@
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 @@
}
#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 @@
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 @@
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 @@
#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 @@
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
}
}
--
To view, visit https://gerrit.libreoffice.org/3030
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Thomas Arnhold <thomas at arnhold.org>
More information about the LibreOffice
mailing list