Kaydet (Commit) 71821a74 authored tarafından Mark Hung's avatar Mark Hung Kaydeden (comit) Noel Grandin

sd: fix closing document twice in testTdf118768.

Change-Id: I07def80070d8109b9d54ef19a841e3091f743b9c
Reviewed-on: https://gerrit.libreoffice.org/57791
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e469ab0d
...@@ -1731,7 +1731,6 @@ void SdOOXMLExportTest2::testTdf118768() ...@@ -1731,7 +1731,6 @@ void SdOOXMLExportTest2::testTdf118768()
sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/odp/tdf118768-brake.odp"), ODP); sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/odp/tdf118768-brake.odp"), ODP);
utl::TempFile tempFile; utl::TempFile tempFile;
xDocShRef = saveAndReload(xDocShRef.get(), PPTX, &tempFile); xDocShRef = saveAndReload(xDocShRef.get(), PPTX, &tempFile);
xDocShRef->DoClose();
// check that transition attribute didn't change from 'out' to 'in' // check that transition attribute didn't change from 'out' to 'in'
xmlDocPtr pXmlDocContent = parseExport(tempFile, "ppt/slides/slide1.xml"); xmlDocPtr pXmlDocContent = parseExport(tempFile, "ppt/slides/slide1.xml");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment