diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-06 14:37:23 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-08 12:15:51 +0100 |
commit | 9e0770ea7e0cf094add54ad64bc9ff825d24bbe1 (patch) | |
tree | e897291e44ecb11ca44ba5e5ebefe03ac536862f /svx/inc | |
parent | 841ee6fb052fb35467d74b70f575a86c8c0fe3b7 (diff) |
Convert FieldUnit to scoped enum
Change-Id: Id2df31daa596a18c79af5fc6ea162deb6e24d5af
Reviewed-on: https://gerrit.libreoffice.org/62958
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/fieldunit.hrc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/inc/fieldunit.hrc b/svx/inc/fieldunit.hrc index 829d14750f3b..b4c4a97e4c31 100644 --- a/svx/inc/fieldunit.hrc +++ b/svx/inc/fieldunit.hrc @@ -27,17 +27,17 @@ const std::pair<const char*, FieldUnit> RID_SVXSTR_FIELDUNIT_TABLE[] = { - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Millimeter") , FUNIT_MM }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Centimeter") , FUNIT_CM }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Meter") , FUNIT_M }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Kilometer") , FUNIT_KM }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Inch") , FUNIT_INCH }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Foot") , FUNIT_FOOT }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Miles") , FUNIT_MILE }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Pica") , FUNIT_PICA }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Point") , FUNIT_POINT }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Char") , FUNIT_CHAR }, - { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Line") , FUNIT_LINE }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Millimeter") , FieldUnit::MM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Centimeter") , FieldUnit::CM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Meter") , FieldUnit::M }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Kilometer") , FieldUnit::KM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Inch") , FieldUnit::INCH }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Foot") , FieldUnit::FOOT }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Miles") , FieldUnit::MILE }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Pica") , FieldUnit::PICA }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Point") , FieldUnit::POINT }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Char") , FieldUnit::CHAR }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Line") , FieldUnit::LINE }, }; #endif |