[Libreoffice-commits] core.git: editeng/source include/editeng
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 5 08:04:11 UTC 2021
editeng/source/items/frmitems.cxx | 8 ++++++++
include/editeng/keepitem.hxx | 2 ++
2 files changed, 10 insertions(+)
New commits:
commit da348a4740267592c36902ac6295302e7c9647a7
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Jan 4 21:45:10 2021 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Jan 5 09:03:28 2021 +0100
sw doc model xml dump: improve keep-with-next output
From: <SfxBoolItem whichId="110" value="TRUE"/>
To: <SvxFormatKeepItem><SfxBoolItem whichId="110" value="TRUE"/>
Change-Id: I08f45e3481a5beebb4c1b8fcf0919741ad185e79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108687
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index cb3c4a14a136..4f365da2b7de 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -2643,6 +2643,14 @@ bool SvxFormatKeepItem::GetPresentation
return true;
}
+void SvxFormatKeepItem::dumpAsXml(xmlTextWriterPtr pWriter) const
+{
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxFormatKeepItem"));
+
+ SfxBoolItem::dumpAsXml(pWriter);
+
+ xmlTextWriterEndElement(pWriter);
+}
SvxLineItem::SvxLineItem( const sal_uInt16 nId ) :
SfxPoolItem ( nId )
diff --git a/include/editeng/keepitem.hxx b/include/editeng/keepitem.hxx
index 6d511d04b0a2..c108560ce3aa 100644
--- a/include/editeng/keepitem.hxx
+++ b/include/editeng/keepitem.hxx
@@ -46,6 +46,8 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper& ) const override;
+
+ void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};
inline SvxFormatKeepItem::SvxFormatKeepItem( const bool bKeep, const sal_uInt16 _nWhich ) :
More information about the Libreoffice-commits
mailing list