diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-01-03 11:41:53 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-03 15:08:06 +0100 |
commit | 66b919c8674066871a06e7cdf5595dc6951524e0 (patch) | |
tree | aa81dd89166ed3346929a2c36bd849f795fdb8a0 /include/test/xmltesttools.hxx | |
parent | f90ec6941c745cd4478aff825e175fde0b873a12 (diff) |
svm xml dumper: move this from test to vcl
This is very useful functionality, this way it can be invoked from the
debugger and/or nested into an outer xml dump (sw/sd doc model dump)
more easily.
Change-Id: If6c83b11d0f3e65fcce71e8d820c6bc354f64d68
Reviewed-on: https://gerrit.libreoffice.org/65834
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/test/xmltesttools.hxx')
-rw-r--r-- | include/test/xmltesttools.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/test/xmltesttools.hxx b/include/test/xmltesttools.hxx index 231a3e448fd6..4f725f5948c5 100644 --- a/include/test/xmltesttools.hxx +++ b/include/test/xmltesttools.hxx @@ -22,6 +22,7 @@ #include <rtl/string.hxx> #include <rtl/ustring.hxx> #include <unotools/tempfile.hxx> +#include <vcl/mtfxmldump.hxx> #include <cppunit/TestAssert.h> @@ -33,6 +34,8 @@ public: /// Return xmlDocPtr representation of the XML stream read from pStream. static xmlDocPtr parseXmlStream(SvStream* pStream); + static xmlDocPtr dumpAndParse(MetafileXmlDump& rDumper, const GDIMetaFile& rGDIMetaFile); + protected: XmlTestTools(); virtual ~XmlTestTools(); |