sw/inc/docufld.hxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a4ae800f2fbbd33ec09d642052d3551ca6f3a431
Author: Miklos Vajna <[email protected]>
AuthorDate: Wed Jul 16 08:56:52 2025 +0200
Commit: Miklos Vajna <[email protected]>
CommitDate: Wed Jul 16 11:45:49 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/+/187946
Reviewed-by: Miklos Vajna <[email protected]>
Tested-by: Jenkins
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index a423be9beaa8..a0d3a4873429 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -581,6 +581,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
{
SwDocInfoSubType m_nSubType;