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 /sw/qa/extras/uiwriter/uiwriter.cxx | |
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 'sw/qa/extras/uiwriter/uiwriter.cxx')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 269e6b92d088..bc05aeaa0445 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -35,7 +35,6 @@ #include <charatr.hxx> #include <editeng/acorrcfg.hxx> #include <unotools/streamwrap.hxx> -#include <test/mtfxmldump.hxx> #include <unocrsr.hxx> #include <unocrsrhelper.hxx> #include <unotbl.hxx> @@ -1704,7 +1703,7 @@ void SwUiWriterTest::testFdo87448() ReadGraphic(aStream, aGraphic); const GDIMetaFile& rMetaFile = aGraphic.GetGDIMetaFile(); MetafileXmlDump dumper; - xmlDocPtr pXmlDoc = dumper.dumpAndParse(rMetaFile); + xmlDocPtr pXmlDoc = dumpAndParse(dumper, rMetaFile); // The first polyline in the document has a number of points to draw arcs, // the last one jumps back to the start, so we call "end" the last but one. |