sw/source/core/fields/docufld.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit b3e4836c66ecc6787876a763819f7f43b3c5db2a Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Jun 16 14:17:37 2025 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Jun 16 14:49:59 2025 +0200 sw: add stub Title impl for SwPageNumberField It is advertised as a property, but it's not implemented: just avoid the assert fail on inspecting the UNO wrapper. Similar to commit 8d7272141f56935a7fbd629706bb4fefb7d3ba84 (sw: add stub Title impl for SwPostItField, 2024-11-27). Change-Id: Iecb54aafe93553d968296891c2f4136f9b50ce15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186565 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index cced5f680276..a6b69cf536ec 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx @@ -265,6 +265,8 @@ bool SwPageNumberField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const case FIELD_PROP_PAR1: rAny <<= m_sUserStr; break; + case FIELD_PROP_TITLE: + break; default: assert(false);