remove unused None from ErrorCode
Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
This commit is contained in:
parent
d386abfb09
commit
1920061bb2
@ -35,7 +35,6 @@ namespace connectivity
|
||||
public:
|
||||
enum class ErrorCode
|
||||
{
|
||||
None = 0,
|
||||
General, // "Syntax error in SQL expression"
|
||||
ValueNoLike, // "The value #1 can not be used with LIKE."
|
||||
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::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::None: break;
|
||||
default: break;
|
||||
}
|
||||
return aMsg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user