diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 09:55:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 12:42:04 +0200 |
commit | 9651424f73a45679fcd1f6cc596e56c7432640d9 (patch) | |
tree | e14aa40091704aeef66f98079edb9e5a0be0381f /idlc/source/errorhandler.cxx | |
parent | remove unused PS_OpCompleted from ParseState enum (diff) | |
download | core-9651424f73a45679fcd1f6cc596e56c7432640d9.tar.gz core-9651424f73a45679fcd1f6cc596e56c7432640d9.zip |
convert WarningCode to scoped enum
and drop unused enumerators
Change-Id: I212cf132c2406e85b44b1af552b0989cecbec162
Diffstat (limited to 'idlc/source/errorhandler.cxx')
-rw-r--r-- | idlc/source/errorhandler.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx index 3b4dfbaf864a..4fd23868bad0 100644 --- a/idlc/source/errorhandler.cxx +++ b/idlc/source/errorhandler.cxx @@ -145,15 +145,7 @@ static const sal_Char* warningCodeToMessage(WarningCode wCode) { switch (wCode) { - case WIDL_EXPID_CONFLICT: - return "exception id conflict: "; - case WIDL_REQID_CONFLICT: - return "request id conflict: "; - case WIDL_INHERIT_IDCONFLICT: - return "request id conflict in inheritance tree: "; - case WIDL_TYPE_IDENT_CONFLICT: - return "type and parameter|member name are equal: "; - case WIDL_WRONG_NAMING_CONV: + case WarningCode::WrongNamingConvention: return "type or identifier doesn't fulfill the UNO naming convention: "; } return "unknown warning"; |