summaryrefslogtreecommitdiff
path: root/svgio/inc/svgnode.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-04-30 23:01:57 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-05-01 05:05:27 +0200
commit83ff99bae3034e6ae029475dd0cf0ecc64756f6a (patch)
tree05cea4b713f0a6ae7ddce51c0ec8bd0a09a11228 /svgio/inc/svgnode.hxx
parentbd0c965b1ba9a15497f92102d5d11c84df091b2f (diff)
convert enums to enum classes in svgnode.hxx
converted XmlSpace, Display Change-Id: I4aced2d7c2f6fcb4adc59949a6ac22d4ddd375a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114953 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svgio/inc/svgnode.hxx')
-rw-r--r--svgio/inc/svgnode.hxx46
1 files changed, 23 insertions, 23 deletions
diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx
index 95d3a03be1d1..fcf31f296ba7 100644
--- a/svgio/inc/svgnode.hxx
+++ b/svgio/inc/svgnode.hxx
@@ -40,34 +40,34 @@ namespace svgio::svgreader
namespace svgio::svgreader
{
- enum XmlSpace
+ enum class XmlSpace
{
- XmlSpace_notset,
- XmlSpace_default,
- XmlSpace_preserve
+ NotSet,
+ Default,
+ Preserve
};
// display property (see SVG 1.1. 11.5), not inheritable
- enum Display // #i121656#
+ enum class Display // #i121656#
{
- Display_inline, // the default
- Display_block,
- Display_list_item,
- Display_run_in,
- Display_compact,
- Display_marker,
- Display_table,
- Display_inline_table,
- Display_table_row_group,
- Display_table_header_group,
- Display_table_footer_group,
- Display_table_row,
- Display_table_column_group,
- Display_table_column,
- Display_table_cell,
- Display_table_caption,
- Display_none,
- Display_inherit
+ Inline, // the default
+ Block,
+ ListItem,
+ RunIn,
+ Compact,
+ Marker,
+ Table,
+ InlineTable,
+ TableRowGroup,
+ TableHeaderGroup,
+ TableFooterGroup,
+ TableRow,
+ TableColumnGroup,
+ TableColumn,
+ TableCell,
+ TableCaption,
+ None,
+ Inherit
};
// helper to convert a string associated with a token of type SVGTokenDisplay