vcl/source/fontsubset/cff.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 37cc752dda0bfe8656baafe299734e63c431b630 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Oct 13 22:47:40 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sun Oct 15 19:49:39 2023 +0200 pStringIds can be constexpr This array lacked being const[expr], presumably accidentally, ever since it got introduced in 2d1f08d63942666c0094904f50ba8c512ab69b9d "CWS-TOOLING: integrate CWS otf01". Change-Id: Ia8f8207ed5b0668356cafd284d4de595b5890cb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157948 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx index 76a77ec961cd..7284954397fd 100644 --- a/vcl/source/fontsubset/cff.cxx +++ b/vcl/source/fontsubset/cff.cxx @@ -433,7 +433,7 @@ constexpr OStringLiteral tok_Regular = "Regular"; constexpr OStringLiteral tok_Roman = "Roman"; constexpr OStringLiteral tok_Semibold = "Semibold"; -static rtl::OStringConstExpr pStringIds[] = { +constexpr rtl::OStringConstExpr pStringIds[] = { /*0*/ tok_notdef, tok_space, tok_exclam, tok_quotedbl, tok_numbersign, tok_dollar, tok_percent, tok_ampersand, tok_quoteright, tok_parenleft, tok_parenright, tok_asterisk,