sw/source/core/fields/docufld.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 03d0dd4b0b659147cc7f264faa9b513f9589f120 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Jun 16 14:17:37 2025 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Jun 17 09:48:10 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/+/186573 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index bfe5f65c876f..67cffc40bad7 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);