[Libreoffice-commits] core.git: sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 9 13:37:46 UTC 2021
sw/source/core/doc/fmtcol.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 25528082a91bd2a3f4b3a3773e999ffd5da85d83
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Apr 9 14:34:02 2021 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Apr 9 15:37:01 2021 +0200
sw doc model xml dump: show if a text format is conditional
Text body is typically conditional, but not always, make it easier to
spot this unusual case.
Change-Id: I27c63f86c773324b258c6dd7e06097aa857fa9aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113848
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index c31c406cd60a..6a91ac469294 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -472,6 +472,8 @@ bool SwTextFormatColl::AreListLevelIndentsApplicable() const
void SwTextFormatColl::dumpAsXml(xmlTextWriterPtr pWriter) const
{
(void)xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextFormatColl"));
+ (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
+ (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
(void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
GetAttrSet().dumpAsXml(pWriter);
(void)xmlTextWriterEndElement(pWriter);
More information about the Libreoffice-commits
mailing list