svx/inc/frmsel.hrc | 2 +- vcl/inc/units.hrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 74efbefce19fbfe38d11445c61caa99cb260aba9 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Jul 22 12:25:35 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jul 22 20:52:28 2025 +0200 constexpr SV_FUNIT_STRINGS Change-Id: Ic211eb0e46af4b66e1ed32ee2b30e332196f0a17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188166 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> 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<TranslateId, FieldUnit> SV_FUNIT_STRINGS[] = +inline constexpr std::pair<TranslateId, FieldUnit> SV_FUNIT_STRINGS[] = { // To translators: This is the first entry of a sequence of measurement unit names { NC_("SV_FUNIT_STRINGS", "mm"), FieldUnit::MM }, commit 958b7b3714a2b50646fa9de3e604c47bf3c6c15c Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Jul 22 15:01:14 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Jul 22 20:52:13 2025 +0200 constexpr RID_SVXSTR_FRMSEL_TEXTS Change-Id: I95c2bf3f42b6fe8a25d2f8f082c45d56e97a2157 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188170 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/svx/inc/frmsel.hrc b/svx/inc/frmsel.hrc index 82e18ff45c0f..da6c20c59758 100644 --- a/svx/inc/frmsel.hrc +++ b/svx/inc/frmsel.hrc @@ -26,7 +26,7 @@ #define NC_(Context, String) TranslateId(Context, u8##String) -std::pair<TranslateId, sal_uInt16> RID_SVXSTR_FRMSEL_TEXTS[] = +inline constexpr std::pair<TranslateId, sal_uInt16> RID_SVXSTR_FRMSEL_TEXTS[] = { { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Border setting") , 0 }, { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Left border line") , 1 },