remove unused None from ErrorCode
Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
This commit is contained in:
@@ -35,7 +35,6 @@ namespace connectivity
|
|||||||
public:
|
public:
|
||||||
enum class ErrorCode
|
enum class ErrorCode
|
||||||
{
|
{
|
||||||
None = 0,
|
|
||||||
General, // "Syntax error in SQL expression"
|
General, // "Syntax error in SQL expression"
|
||||||
ValueNoLike, // "The value #1 can not be used with LIKE."
|
ValueNoLike, // "The value #1 can not be used with LIKE."
|
||||||
FieldNoLike, // "LIKE can not be used with this field."
|
FieldNoLike, // "LIKE can not be used with this field."
|
||||||
|
@@ -68,7 +68,7 @@ OUString OSystemParseContext::getErrorMessage(ErrorCode _eCode) const
|
|||||||
case ErrorCode::InvalidColumn: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_COLUMN); break;
|
case ErrorCode::InvalidColumn: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_COLUMN); break;
|
||||||
case ErrorCode::InvalidTableExist: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_TABLE_EXISTS); break;
|
case ErrorCode::InvalidTableExist: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_TABLE_EXISTS); break;
|
||||||
case ErrorCode::InvalidQueryExist: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_QUERY_EXISTS); break;
|
case ErrorCode::InvalidQueryExist: aMsg = SVX_RESSTR(RID_STR_SVT_SQL_SYNTAX_QUERY_EXISTS); break;
|
||||||
case ErrorCode::None: break;
|
default: break;
|
||||||
}
|
}
|
||||||
return aMsg;
|
return aMsg;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user