sw/inc/docufld.hxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit bae67d54efd91e59bc95eb3c3d616fac8d832b6a Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Jul 16 08:56:52 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Jul 16 10:08:58 2025 +0200
sw: document SwDocInfoField I.e. first author on the UI is a doc info field, not an SwAuthorField. Change-Id: I7fcd4d1115ebcea582fd55db0d0020ac39ae3671 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187942 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 83986b735ae3..453433bbdf2d 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -535,6 +535,8 @@ public: virtual std::unique_ptr<SwFieldType> Copy() const override; }; +/// A field that expands to the value of some document information, e.g. Insert -> Field -> First +/// Author on the UI. class SW_DLLPUBLIC SwDocInfoField final : public SwValueField { sal_uInt16 m_nSubType;