Fix type unkown -> unknown
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
This commit is contained in:
@@ -121,7 +121,7 @@ void ReflectionBase::setPropertyValue_NoBroadcast_public(
|
|||||||
if( -1 == nHandle )
|
if( -1 == nHandle )
|
||||||
{
|
{
|
||||||
rtl::OUStringBuffer buf(128);
|
rtl::OUStringBuffer buf(128);
|
||||||
buf.appendAscii( "Unkown property '" );
|
buf.appendAscii( "Unknown property '" );
|
||||||
buf.append( name );
|
buf.append( name );
|
||||||
buf.appendAscii( "' in " );
|
buf.appendAscii( "' in " );
|
||||||
buf.append( m_implName );
|
buf.append( m_implName );
|
||||||
|
@@ -49,7 +49,7 @@ namespace dbaui
|
|||||||
::rtl::OUString m_sName; // table for update data
|
::rtl::OUString m_sName; // table for update data
|
||||||
::rtl::OUString m_sAutoIncrementValue; // the autoincrement value set in the datasource
|
::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
|
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_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
|
sal_Bool m_bNew : 1; // is true when we create a new table
|
||||||
|
@@ -1277,7 +1277,7 @@ const sal_Char* SAL_CALL exprTypeToString(ExprType t)
|
|||||||
return "none";
|
return "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
return ("unkown");
|
return ("unknown");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -168,7 +168,7 @@ static const sal_Char* warningCodeToMessage(WarningCode wCode)
|
|||||||
case WIDL_WRONG_NAMING_CONV:
|
case WIDL_WRONG_NAMING_CONV:
|
||||||
return "type or identifier doesn't fulfill the UNO naming convention: ";
|
return "type or identifier doesn't fulfill the UNO naming convention: ";
|
||||||
}
|
}
|
||||||
return "unkown warning";
|
return "unknown warning";
|
||||||
}
|
}
|
||||||
|
|
||||||
static const sal_Char* parseStateToMessage(ParseState state)
|
static const sal_Char* parseStateToMessage(ParseState state)
|
||||||
|
@@ -396,7 +396,7 @@ static PyObject *createUnoStructHelper(
|
|||||||
OStringBuffer buf;
|
OStringBuffer buf;
|
||||||
buf.append( "UNO struct " );
|
buf.append( "UNO struct " );
|
||||||
buf.append( PyStr_AsString(structName) );
|
buf.append( PyStr_AsString(structName) );
|
||||||
buf.append( " is unkown" );
|
buf.append( " is unknown" );
|
||||||
PyErr_SetString (PyExc_RuntimeError, buf.getStr());
|
PyErr_SetString (PyExc_RuntimeError, buf.getStr());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -141,7 +141,7 @@ sub initEnvironment()
|
|||||||
$g_sTempDir = $ENV{TMP} ? "$ENV{TMP}${FS}" : "${FS}tmp${FS}";
|
$g_sTempDir = $ENV{TMP} ? "$ENV{TMP}${FS}" : "${FS}tmp${FS}";
|
||||||
last SWITCH;
|
last SWITCH;
|
||||||
}
|
}
|
||||||
print STDERR "buildall.pl: unkown platform\n";
|
print STDERR "buildall.pl: unknown platform\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -257,7 +257,7 @@ void PropagateEvent_Impl( SfxObjectShell *pDoc, rtl::OUString aEventName, const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DBG_WARNING( "PropagateEvents_Impl: Got unkown event" );
|
DBG_WARNING( "PropagateEvents_Impl: Got unknown event" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -48,7 +48,7 @@ static sal_uInt16 GetImageListRID( sal_uInt16 nCategoryRID )
|
|||||||
case RID_FORMAT_CAT : nRes = RID_IL_FORMAT; break;
|
case RID_FORMAT_CAT : nRes = RID_IL_FORMAT; break;
|
||||||
case RID_MISC_CAT : nRes = RID_IL_MISC; break;
|
case RID_MISC_CAT : nRes = RID_IL_MISC; break;
|
||||||
default :
|
default :
|
||||||
OSL_FAIL( "unkown category" );
|
OSL_FAIL( "unknown category" );
|
||||||
}
|
}
|
||||||
return nRes;
|
return nRes;
|
||||||
}
|
}
|
||||||
@@ -93,7 +93,7 @@ static sal_uInt16 GetCategoryRID( sal_uInt16 nResId )
|
|||||||
if (nResId != RID_IL_CATALOG)
|
if (nResId != RID_IL_CATALOG)
|
||||||
{
|
{
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
#if OSL_DEBUG_LEVEL > 1
|
||||||
OSL_FAIL( "unkown category" );
|
OSL_FAIL( "unknown category" );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -310,7 +310,7 @@ void SmToolBoxWindow::SetCategory(sal_uInt16 nCategoryRID)
|
|||||||
pToolBoxCmd->Hide();
|
pToolBoxCmd->Hide();
|
||||||
|
|
||||||
sal_Int16 nIdx = GetToolBoxCategoriesIndex( nCategoryRID );
|
sal_Int16 nIdx = GetToolBoxCategoriesIndex( nCategoryRID );
|
||||||
OSL_ENSURE( nIdx >= 0, "unkown category" );
|
OSL_ENSURE( nIdx >= 0, "unknown category" );
|
||||||
if (nIdx >= 0)
|
if (nIdx >= 0)
|
||||||
pToolBoxCmd = vToolBoxCategories[nIdx];
|
pToolBoxCmd = vToolBoxCategories[nIdx];
|
||||||
|
|
||||||
|
@@ -748,7 +748,7 @@ sal_Bool XMLTextFieldExport::IsStringField(
|
|||||||
case FIELD_ID_DRAW_FOOTER:
|
case FIELD_ID_DRAW_FOOTER:
|
||||||
case FIELD_ID_DRAW_DATE_TIME:
|
case FIELD_ID_DRAW_DATE_TIME:
|
||||||
default:
|
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
|
return sal_True; // invalid info; string in case of doubt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -967,8 +967,8 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
|
|||||||
|
|
||||||
case FIELD_ID_UNKNOWN:
|
case FIELD_ID_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
OSL_FAIL("unkown field type!");
|
OSL_FAIL("unknown field type!");
|
||||||
// ignore -> no format for unkowns
|
// ignore -> no format for ukowns
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1857,7 +1857,7 @@ void XMLTextFieldExport::ExportFieldHelper(
|
|||||||
|
|
||||||
case FIELD_ID_UNKNOWN:
|
case FIELD_ID_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
OSL_FAIL("unkown field type encountered!");
|
OSL_FAIL("unknown field type encountered!");
|
||||||
// always export content
|
// always export content
|
||||||
GetExport().Characters(sPresentation);
|
GetExport().Characters(sPresentation);
|
||||||
}
|
}
|
||||||
@@ -2946,8 +2946,8 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// unkown placeholder: XML_TEXT
|
// unknown placeholder: XML_TEXT
|
||||||
OSL_FAIL("unkown placeholder type");
|
OSL_FAIL("unknown placeholder type");
|
||||||
}
|
}
|
||||||
|
|
||||||
return eType;
|
return eType;
|
||||||
@@ -3088,7 +3088,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapChapterDisplayFormat(sal_Int16 nFormat)
|
|||||||
eName = XML_PLAIN_NUMBER;
|
eName = XML_PLAIN_NUMBER;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
OSL_FAIL("unkown chapter display format");
|
OSL_FAIL("unknown chapter display format");
|
||||||
eName = XML_TOKEN_INVALID;
|
eName = XML_TOKEN_INVALID;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3197,7 +3197,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapReferenceSource(sal_Int16 nType)
|
|||||||
eElement = XML_NOTE_REF;
|
eElement = XML_NOTE_REF;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
OSL_FAIL("unkown reference source");
|
OSL_FAIL("unknown reference source");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2308,7 +2308,7 @@ void XMLFileNameImportContext::ProcessAttribute(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
; // unkown attribute: ignore
|
; // unknown attribute: ignore
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -936,7 +936,7 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
OSL_FAIL("unkown varfield type");
|
OSL_FAIL("unknown varfield type");
|
||||||
} // switch
|
} // switch
|
||||||
} // else: no field master found/constructed
|
} // else: no field master found/constructed
|
||||||
} // else: no sequence-decl
|
} // else: no sequence-decl
|
||||||
|
Reference in New Issue
Block a user