sw/inc/fmtcol.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6d5262209a89127880c888c2ef0dc4e0da7f6ea1
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Dec 19 20:25:17 2022 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Dec 20 07:48:20 2022 +0000

    sw: document SwFormatColl
    
    I.e. first what's confusing is that SwCharFormat doesn't derive from
    SwFormatColl, and the answer is that in practice it doesn't matter too
    much, as long as in practice user-visible char styles are SwCharFormats
    where SetAuto(false) is called in some other way.
    
    Change-Id: Ie85f9bf947348b5ef7051f055c5b931a8a2b932a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144544
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index 00e5208b73f4..6a477e1f5ca3 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -32,6 +32,8 @@
 class SwAttrPool;
 namespace sw{ class DocumentStylePoolManager; }
 
+/// SwFormatColl is just an SwFormat subclass that defaults to 
m_bAutoFormat=false, expressing that
+/// this set of formatting is a style, not direct formatting.
 class SAL_DLLPUBLIC_RTTI SwFormatColl: public SwFormat
 {
 protected:

Reply via email to