summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-12-19 20:25:17 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-12-20 07:48:20 +0000
commit6d5262209a89127880c888c2ef0dc4e0da7f6ea1 (patch)
treec3995dfd86e3cdead25d0660cb31258758b6b3c0 /sw/inc
parentc6dc676306d2e507bf57369d02dcaf2408d43eb0 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fmtcol.hxx2
1 files changed, 2 insertions, 0 deletions
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: