sw/inc/docufld.hxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1d6d28381812f3552e80e550ff9dd5fc23597deb
Author: Miklos Vajna <[email protected]>
AuthorDate: Wed Sep 17 08:53:40 2025 +0200
Commit: Caolán McNamara <[email protected]>
CommitDate: Wed Sep 17 12:23:59 2025 +0200
sw: document SwAuthorField
I.e. current user on the UI is an author field, not a doc info field.
Change-Id: I9bb4c7e01697cbb786b9edd9ba59253053e10c2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191063
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Jenkins CollaboraOffice <[email protected]>
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 453433bbdf2d..9aac8a4bd693 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -184,6 +184,8 @@ public:
virtual std::unique_ptr<SwFieldType> Copy() const override;
};
+/// Insert -> Field -> More fields -> Document -> Author -> Name on the UI.
This expands to the
+/// name of the current user, first author would be an SwDocInfoField.
class SwAuthorField final : public SwField
{
OUString m_aContent;