editeng/source/items/frmitems.cxx | 8 ++++++++ include/editeng/keepitem.hxx | 2 ++ 2 files changed, 10 insertions(+)
New commits: commit da348a4740267592c36902ac6295302e7c9647a7 Author: Miklos Vajna <[email protected]> AuthorDate: Mon Jan 4 21:45:10 2021 +0100 Commit: Miklos Vajna <[email protected]> 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 <[email protected]> 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 ) : _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
