[Libreoffice-commits] core.git: connectivity/source dbaccess/source idlc/source pyuno/source sal/qa sfx2/source starmath/source xmloff/source

Julien Nabet serval2412 at yahoo.fr
Thu Feb 21 12:52:09 PST 2013


 connectivity/source/drivers/postgresql/pq_xbase.cxx |    2 +-
 dbaccess/source/ui/inc/TableController.hxx          |    2 +-
 idlc/source/astexpression.cxx                       |    2 +-
 idlc/source/errorhandler.cxx                        |    2 +-
 pyuno/source/module/pyuno_module.cxx                |    2 +-
 sal/qa/buildall.pl                                  |    2 +-
 sfx2/source/config/evntconf.cxx                     |    2 +-
 starmath/source/toolbox.cxx                         |    6 +++---
 xmloff/source/text/txtflde.cxx                      |   16 ++++++++--------
 xmloff/source/text/txtfldi.cxx                      |    2 +-
 xmloff/source/text/txtvfldi.cxx                     |    2 +-
 11 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit f68cd77923ed996c372e6814d615c6faf635626a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Feb 21 21:49:44 2013 +0100

    Fix type unkown -> unknown
    
    Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0

diff --git a/connectivity/source/drivers/postgresql/pq_xbase.cxx b/connectivity/source/drivers/postgresql/pq_xbase.cxx
index 50c557e..fdbc114 100644
--- a/connectivity/source/drivers/postgresql/pq_xbase.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xbase.cxx
@@ -121,7 +121,7 @@ void ReflectionBase::setPropertyValue_NoBroadcast_public(
     if( -1 == nHandle  )
     {
         rtl::OUStringBuffer buf(128);
-        buf.appendAscii( "Unkown property '" );
+        buf.appendAscii( "Unknown property '" );
         buf.append( name );
         buf.appendAscii( "' in " );
         buf.append( m_implName );
diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx
index cebe6b7..b5eda7c 100644
--- a/dbaccess/source/ui/inc/TableController.hxx
+++ b/dbaccess/source/ui/inc/TableController.hxx
@@ -49,7 +49,7 @@ namespace dbaui
         ::rtl::OUString m_sName;                // table for update data
         ::rtl::OUString m_sAutoIncrementValue;  // the autoincrement value set in the datasource
         String          m_sTypeNames;           // these type names are the ones out of the resource file
-        TOTypeInfoSP    m_pTypeInfo;            // fall back when type is unkown because database driver has a failure
+        TOTypeInfoSP    m_pTypeInfo;            // fall back when type is unknown because database driver has a failure
 
         sal_Bool        m_bAllowAutoIncrementValue; // no : 1 NO BIT , is true when the datasource has a AutoIncrementValue property in their info property
         sal_Bool        m_bNew      : 1;        // is true when we create a new table
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index b28cfed..61f2d7f 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -1277,7 +1277,7 @@ const sal_Char* SAL_CALL exprTypeToString(ExprType t)
             return "none";
     }
 
-    return ("unkown");
+    return ("unknown");
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 447e8c3..464ff37 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -168,7 +168,7 @@ static const sal_Char* warningCodeToMessage(WarningCode wCode)
     case WIDL_WRONG_NAMING_CONV:
         return "type or identifier doesn't fulfill the UNO naming convention: ";
     }
-    return "unkown warning";
+    return "unknown warning";
 }
 
 static const sal_Char* parseStateToMessage(ParseState state)
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 1638aba..f823104 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -396,7 +396,7 @@ static PyObject *createUnoStructHelper(
                         OStringBuffer buf;
                         buf.append( "UNO struct " );
                         buf.append( PyStr_AsString(structName) );
-                        buf.append( " is unkown" );
+                        buf.append( " is unknown" );
                         PyErr_SetString (PyExc_RuntimeError, buf.getStr());
                     }
                 }
diff --git a/sal/qa/buildall.pl b/sal/qa/buildall.pl
index 6726571..20f4dfa 100644
--- a/sal/qa/buildall.pl
+++ b/sal/qa/buildall.pl
@@ -141,7 +141,7 @@ sub initEnvironment()
           $g_sTempDir         = $ENV{TMP}  ? "$ENV{TMP}${FS}" : "${FS}tmp${FS}";
           last SWITCH;
       }
-      print STDERR "buildall.pl: unkown platform\n";
+      print STDERR "buildall.pl: unknown platform\n";
       exit(1);
   }
 }
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index c2b09fa..74b5f79 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -257,7 +257,7 @@ void PropagateEvent_Impl( SfxObjectShell *pDoc, rtl::OUString aEventName, const
             }
         }
         else {
-            DBG_WARNING( "PropagateEvents_Impl: Got unkown event" );
+            DBG_WARNING( "PropagateEvents_Impl: Got unknown event" );
         }
     }
 }
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx
index 5bcbe2d..75f6065 100644
--- a/starmath/source/toolbox.cxx
+++ b/starmath/source/toolbox.cxx
@@ -48,7 +48,7 @@ static sal_uInt16  GetImageListRID( sal_uInt16 nCategoryRID )
         case RID_FORMAT_CAT         : nRes = RID_IL_FORMAT; break;
         case RID_MISC_CAT           : nRes = RID_IL_MISC; break;
         default :
-            OSL_FAIL( "unkown category" );
+            OSL_FAIL( "unknown category" );
     }
     return nRes;
 }
@@ -93,7 +93,7 @@ static sal_uInt16  GetCategoryRID( sal_uInt16 nResId )
             if (nResId != RID_IL_CATALOG)
             {
 #if OSL_DEBUG_LEVEL > 1
-                OSL_FAIL( "unkown category" );
+                OSL_FAIL( "unknown category" );
 #endif
             }
     }
@@ -310,7 +310,7 @@ void SmToolBoxWindow::SetCategory(sal_uInt16 nCategoryRID)
     pToolBoxCmd->Hide();
 
     sal_Int16 nIdx = GetToolBoxCategoriesIndex( nCategoryRID );
-        OSL_ENSURE( nIdx >= 0, "unkown category" );
+        OSL_ENSURE( nIdx >= 0, "unknown category" );
     if (nIdx >= 0)
         pToolBoxCmd = vToolBoxCategories[nIdx];
 
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 6c1da2c..c66e95d 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -748,7 +748,7 @@ sal_Bool XMLTextFieldExport::IsStringField(
     case FIELD_ID_DRAW_FOOTER:
     case FIELD_ID_DRAW_DATE_TIME:
     default:
-        OSL_FAIL("unkown field type/field has no content");
+        OSL_FAIL("unknown field type/field has no content");
         return sal_True; // invalid info; string in case of doubt
     }
 }
@@ -967,8 +967,8 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
 
     case FIELD_ID_UNKNOWN:
     default:
-        OSL_FAIL("unkown field type!");
-        // ignore -> no format for unkowns
+        OSL_FAIL("unknown field type!");
+        // ignore -> no format for ukowns
         break;
     }
 }
@@ -1857,7 +1857,7 @@ void XMLTextFieldExport::ExportFieldHelper(
 
     case FIELD_ID_UNKNOWN:
     default:
-        OSL_FAIL("unkown field type encountered!");
+        OSL_FAIL("unknown field type encountered!");
         // always export content
         GetExport().Characters(sPresentation);
     }
@@ -2946,8 +2946,8 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType)
             break;
 
         default:
-            // unkown placeholder: XML_TEXT
-            OSL_FAIL("unkown placeholder type");
+            // unknown placeholder: XML_TEXT
+            OSL_FAIL("unknown placeholder type");
     }
 
     return eType;
@@ -3088,7 +3088,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapChapterDisplayFormat(sal_Int16 nFormat)
             eName = XML_PLAIN_NUMBER;
             break;
         default:
-            OSL_FAIL("unkown chapter display format");
+            OSL_FAIL("unknown chapter display format");
             eName = XML_TOKEN_INVALID;
             break;
     }
@@ -3197,7 +3197,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapReferenceSource(sal_Int16 nType)
             eElement = XML_NOTE_REF;
             break;
         default:
-            OSL_FAIL("unkown reference source");
+            OSL_FAIL("unknown reference source");
             break;
     }
 
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index d97281a..e7067ac 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -2308,7 +2308,7 @@ void XMLFileNameImportContext::ProcessAttribute(
             break;
         }
         default:
-            ; // unkown attribute: ignore
+            ; // unknown attribute: ignore
             break;
     }
 }
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 275044b..58b2593 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -936,7 +936,7 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext(
                 break;
             }
             default:
-                OSL_FAIL("unkown varfield type");
+                OSL_FAIL("unknown varfield type");
             } // switch
         } // else: no field master found/constructed
     } // else: no sequence-decl


More information about the Libreoffice-commits mailing list