diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-06 08:54:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-06 09:13:25 +0000 |
commit | c9c3cb5446bfeb621d5fee5d50d19c8e030e3087 (patch) | |
tree | 4d563d16c2d35e153dcab833de7ad87e5a2e6620 /connectivity/source/inc | |
parent | d8a1059ef2270681861da183ce486b636c07a4b7 (diff) |
loplugin:unusedenumconstants in connectivity..cui
Convert ExpressionFunct to scoped enum and drop FUNC_CONST value.
Convert MQueryExpressionBase::node_type to scoped enum and drop Unknown
value.
Dop PageType::Color value
Change-Id: Icb1f5503c230fb91329acc7d9e1da665fa28d95e
Reviewed-on: https://gerrit.libreoffice.org/33948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/RowFunctionParser.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/inc/RowFunctionParser.hxx b/connectivity/source/inc/RowFunctionParser.hxx index ed547ed6647c..df2c7ba2bf4e 100644 --- a/connectivity/source/inc/RowFunctionParser.hxx +++ b/connectivity/source/inc/RowFunctionParser.hxx @@ -29,12 +29,11 @@ namespace connectivity { -enum ExpressionFunct +enum class ExpressionFunct { - FUNC_CONST, - ENUM_FUNC_EQUATION, - ENUM_FUNC_AND, - ENUM_FUNC_OR + Equation, + And, + Or }; #define EXPRESSION_FLAG_SUMANGLE_MODE 1 |