summaryrefslogtreecommitdiff
path: root/sw/inc/tblenum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 14:15:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-13 09:57:43 +0200
commitf52535f433ddeac304d2b789a65b5031d1c7d1bb (patch)
treed5d365e7891364ada2de96b060cb086e6747aac8 /sw/inc/tblenum.hxx
parentd9febd5d725f1a17e7b64e2c44de189144ab4f9c (diff)
convert TableChgMode to scoped enum
Change-Id: Ib667b15a878bb59cdfe80e9692b31afda85ec5b7 Reviewed-on: https://gerrit.libreoffice.org/36475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/tblenum.hxx')
-rw-r--r--sw/inc/tblenum.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/tblenum.hxx b/sw/inc/tblenum.hxx
index fbef062307c8..327d0ea52e37 100644
--- a/sw/inc/tblenum.hxx
+++ b/sw/inc/tblenum.hxx
@@ -48,11 +48,11 @@ constexpr TableChgWidthHeightType extractPosition(TableChgWidthHeightType e) {
return static_cast<TableChgWidthHeightType>(static_cast<int>(e) & 0xf);
}
-enum TableChgMode
+enum class TableChgMode
{
- TBLFIX_CHGABS, // Table fixed width, change neighbour.
- TBLFIX_CHGPROP, // Table fixed width, change all neighbours.
- TBLVAR_CHGABS // Table variable, change all neighbours.
+ FixedWidthChangeAbs, // Table fixed width, change neighbour.
+ FixedWidthChangeProp, // Table fixed width, change all neighbours.
+ VarWidthChangeAbs // Table variable, change all neighbours.
};
enum class SplitTable_HeadlineOption