[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Mar 7 17:19:24 UTC 2018
sw/source/core/layout/atrfrm.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit a64fcdde597514820873817e23eb5cd906cc5b92
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Mar 7 13:55:50 2018 +0100
sw doc model xml dump: dump SdrObject of frame formats
Gives e.g. title of OLE objects.
Change-Id: I77f048b820badef38bb239d132e34f2239e30e02
Reviewed-on: https://gerrit.libreoffice.org/50890
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 767a4b25129b..237372b10d81 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -2845,6 +2845,9 @@ void SwFrameFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
GetAttrSet().dumpAsXml(pWriter);
+ if (const SdrObject* pSdrObject = FindSdrObject())
+ pSdrObject->dumpAsXml(pWriter);
+
xmlTextWriterEndElement(pWriter);
}
More information about the Libreoffice-commits
mailing list