diff --git a/vcl/inc/units.hrc b/vcl/inc/units.hrc index 239b031aeec1..7a148630d3f3 100644 --- a/vcl/inc/units.hrc +++ b/vcl/inc/units.hrc @@ -24,7 +24,7 @@ #define NC_(Context, String) TranslateId(Context, u8##String) -std::pair SV_FUNIT_STRINGS[] = +inline constexpr std::pair SV_FUNIT_STRINGS[] = { // To translators: This is the first entry of a sequence of measurement unit names { NC_("SV_FUNIT_STRINGS", "mm"), FieldUnit::MM },