summaryrefslogtreecommitdiffstats
path: root/idlc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 09:55:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-16 12:42:04 +0200
commit9651424f73a45679fcd1f6cc596e56c7432640d9 (patch)
treee14aa40091704aeef66f98079edb9e5a0be0381f /idlc/inc
parentremove unused PS_OpCompleted from ParseState enum (diff)
downloadcore-9651424f73a45679fcd1f6cc596e56c7432640d9.tar.gz
core-9651424f73a45679fcd1f6cc596e56c7432640d9.zip
convert WarningCode to scoped enum
and drop unused enumerators Change-Id: I212cf132c2406e85b44b1af552b0989cecbec162
Diffstat (limited to 'idlc/inc')
-rw-r--r--idlc/inc/errorhandler.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/idlc/inc/errorhandler.hxx b/idlc/inc/errorhandler.hxx
index 8770cc93ac61..2e953617b78b 100644
--- a/idlc/inc/errorhandler.hxx
+++ b/idlc/inc/errorhandler.hxx
@@ -77,13 +77,9 @@ enum ErrorCode
EIDL_SIMILAR_CONSTRUCTORS
};
-enum WarningCode
+enum class WarningCode
{
- WIDL_EXPID_CONFLICT, // exception id conflict
- WIDL_REQID_CONFLICT, // request id conflict
- WIDL_INHERIT_IDCONFLICT, // request id conflict inheritance tree
- WIDL_TYPE_IDENT_CONFLICT, // type and identifier has equal names
- WIDL_WRONG_NAMING_CONV // type or identifier doesn't fulfill the UNO naming convention
+ WrongNamingConvention // type or identifier doesn't fulfill the UNO naming convention
};
class ErrorHandler