remove unused None from ErrorCode

Change-Id: Iab5bf1a34fa07c851067fe30df875e821583038b
This commit is contained in:
Noel Grandin 2017-02-16 13:39:28 +02:00
parent d386abfb09
commit 1920061bb2
2 changed files with 1 additions and 2 deletions

View File

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

View File

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