Fix type unkown -> unknown

Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
This commit is contained in:
Julien Nabet
2013-02-21 21:49:44 +01:00
parent e052f55236
commit f68cd77923
11 changed files with 20 additions and 20 deletions

View File

@@ -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 );

View File

@@ -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

View File

@@ -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: */

View File

@@ -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)

View File

@@ -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());
}
}

View File

@@ -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);
}
}

View File

@@ -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" );
}
}
}

View File

@@ -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];

View File

@@ -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;
}

View File

@@ -2308,7 +2308,7 @@ void XMLFileNameImportContext::ProcessAttribute(
break;
}
default:
; // unkown attribute: ignore
; // unknown attribute: ignore
break;
}
}

View File

@@ -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