From 74efbefce19fbfe38d11445c61caa99cb260aba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 22 Jul 2025 12:25:35 +0100 Subject: [PATCH] constexpr SV_FUNIT_STRINGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic211eb0e46af4b66e1ed32ee2b30e332196f0a17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188166 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/inc/units.hrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 },