xmloff/source/transform/TransformerActionInit.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e405a1fe5c12ba94a13162050ba896c7f5cc3e1c Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri Jul 11 10:58:06 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Jul 12 11:20:22 2025 +0200 QNameParam can constexpr Change-Id: I7c1be7cb7ce0684f65fbd073523282e50e4dccd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187743 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/xmloff/source/transform/TransformerActionInit.hxx b/xmloff/source/transform/TransformerActionInit.hxx index 41ed6e77110e..8fa702c45dd7 100644 --- a/xmloff/source/transform/TransformerActionInit.hxx +++ b/xmloff/source/transform/TransformerActionInit.hxx @@ -31,7 +31,7 @@ struct XMLTransformerActionInit sal_uInt32 const m_nParam2; sal_uInt32 const m_nParam3; - static sal_uInt32 QNameParam( sal_uInt16 nPrefix, + static constexpr sal_uInt32 QNameParam( sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eLocalName ) { return (static_cast< sal_uInt32 >( nPrefix ) << 16) +