From f17520056fe85e3fcb88d2ea13be7167ed19c097 Mon Sep 17 00:00:00 2001
From: vincent <vincentgsoc2013@gmail.com>
Date: Fri, 22 Mar 2013 22:11:49 +0800
Subject: [PATCH] Fix spelling errors and typos: 'unkown' change to 'unknown'

---
 autodoc/inc/ary/idl/ik_ce.hxx                    | 2 +-
 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, 12 insertions(+), 12 deletions(-)

diff --git a/autodoc/inc/ary/idl/ik_ce.hxx b/autodoc/inc/ary/idl/ik_ce.hxx
index 3b0e59f..3d6aa6d 100644
--- a/autodoc/inc/ary/idl/ik_ce.hxx
+++ b/autodoc/inc/ary/idl/ik_ce.hxx
@@ -107,7 +107,7 @@ struct doc
                         TagVersion(
                             const CodeEntity &  i_ce );
 
-    void                Get_UnkownTags(
+    void                Get_UnknownTags(
                             Dyn_CeIterator &    o_result,
                             const CodeEntity &  i_ce );
 
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..4e7aee0 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
     }
 }
-- 
1.8.1.msysgit.1

