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 /vcl/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 'vcl/inc')
-rw-r--r-- | vcl/inc/units.hrc | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/vcl/inc/units.hrc b/vcl/inc/units.hrc index 3fc58eca0270..031ffab67ec3 100644 --- a/vcl/inc/units.hrc +++ b/vcl/inc/units.hrc @@ -25,32 +25,32 @@ std::pair<const char*, FieldUnit> SV_FUNIT_STRINGS[] = { // To translators: This is the first entry of a sequence of measurement unit names - { NC_("SV_FUNIT_STRINGS", "mm"), FUNIT_MM }, - { NC_("SV_FUNIT_STRINGS", "cm"), FUNIT_CM }, - { NC_("SV_FUNIT_STRINGS", "m"), FUNIT_M }, - { NC_("SV_FUNIT_STRINGS", "km"), FUNIT_KM }, - { NC_("SV_FUNIT_STRINGS", "twips"), FUNIT_TWIP }, - { NC_("SV_FUNIT_STRINGS", "twip"), FUNIT_TWIP }, - { NC_("SV_FUNIT_STRINGS", "pt"), FUNIT_POINT }, - { NC_("SV_FUNIT_STRINGS", "pc"), FUNIT_PICA }, - { NC_("SV_FUNIT_STRINGS", "\""), FUNIT_INCH }, - { NC_("SV_FUNIT_STRINGS", "in"), FUNIT_INCH }, - { NC_("SV_FUNIT_STRINGS", "inch"), FUNIT_INCH }, - { NC_("SV_FUNIT_STRINGS", "'"), FUNIT_FOOT }, - { NC_("SV_FUNIT_STRINGS", "ft"), FUNIT_FOOT }, - { NC_("SV_FUNIT_STRINGS", "foot"), FUNIT_FOOT }, - { NC_("SV_FUNIT_STRINGS", "feet"), FUNIT_FOOT }, - { NC_("SV_FUNIT_STRINGS", "miles"), FUNIT_MILE }, - { NC_("SV_FUNIT_STRINGS", "mile"), FUNIT_MILE }, - { NC_("SV_FUNIT_STRINGS", "ch"), FUNIT_CHAR }, - { NC_("SV_FUNIT_STRINGS", "line"), FUNIT_LINE }, - { NC_("SV_FUNIT_STRINGS", "pixels"), FUNIT_PIXEL }, - { NC_("SV_FUNIT_STRINGS", "pixel"), FUNIT_PIXEL }, + { NC_("SV_FUNIT_STRINGS", "mm"), FieldUnit::MM }, + { NC_("SV_FUNIT_STRINGS", "cm"), FieldUnit::CM }, + { NC_("SV_FUNIT_STRINGS", "m"), FieldUnit::M }, + { NC_("SV_FUNIT_STRINGS", "km"), FieldUnit::KM }, + { NC_("SV_FUNIT_STRINGS", "twips"), FieldUnit::TWIP }, + { NC_("SV_FUNIT_STRINGS", "twip"), FieldUnit::TWIP }, + { NC_("SV_FUNIT_STRINGS", "pt"), FieldUnit::POINT }, + { NC_("SV_FUNIT_STRINGS", "pc"), FieldUnit::PICA }, + { NC_("SV_FUNIT_STRINGS", "\""), FieldUnit::INCH }, + { NC_("SV_FUNIT_STRINGS", "in"), FieldUnit::INCH }, + { NC_("SV_FUNIT_STRINGS", "inch"), FieldUnit::INCH }, + { NC_("SV_FUNIT_STRINGS", "'"), FieldUnit::FOOT }, + { NC_("SV_FUNIT_STRINGS", "ft"), FieldUnit::FOOT }, + { NC_("SV_FUNIT_STRINGS", "foot"), FieldUnit::FOOT }, + { NC_("SV_FUNIT_STRINGS", "feet"), FieldUnit::FOOT }, + { NC_("SV_FUNIT_STRINGS", "miles"), FieldUnit::MILE }, + { NC_("SV_FUNIT_STRINGS", "mile"), FieldUnit::MILE }, + { NC_("SV_FUNIT_STRINGS", "ch"), FieldUnit::CHAR }, + { NC_("SV_FUNIT_STRINGS", "line"), FieldUnit::LINE }, + { NC_("SV_FUNIT_STRINGS", "pixels"), FieldUnit::PIXEL }, + { NC_("SV_FUNIT_STRINGS", "pixel"), FieldUnit::PIXEL }, /* To translators: degree */ - { NC_("SV_FUNIT_STRINGS", "°"), FUNIT_DEGREE }, - { NC_("SV_FUNIT_STRINGS", "sec"), FUNIT_SECOND }, + { NC_("SV_FUNIT_STRINGS", "°"), FieldUnit::DEGREE }, + { NC_("SV_FUNIT_STRINGS", "sec"), FieldUnit::SECOND }, // To translators: This is the last entry of the sequence of measurement unit names - { NC_("SV_FUNIT_STRINGS", "ms"), FUNIT_MILLISECOND } + { NC_("SV_FUNIT_STRINGS", "ms"), FieldUnit::MILLISECOND } }; #endif // INCLUDED_VCL_INC_UNITS_HRC |