Kaydet (Commit) 1920061b authored tarafından Noel Grandin's avatar Noel Grandin

remove unused None from ErrorCode

Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
üst d386abfb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment