[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue May 12 11:31:21 UTC 2020


 sw/qa/extras/ooxmlexport/ooxmlexport5.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6842c2cb84ad6b3151021b537dc5a70da49446f
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue May 12 13:07:14 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue May 12 13:30:40 2020 +0200

    Fix the build
    
    ...after apparently a mid-air collision between
    f5636817e7677a3081263df9004940a7d5ac54af "tdf#112287 DOCX frame import: fix
    default vAnchor" and ec6eaa58addf0d8823f8c56d4ec168ff389da8c5 "fix memory leak
    of xmlDoc objects"
    
    Change-Id: I8fc70ee18aeb4be03b29da66bce666c563933249
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94051
    Tested-by: Stephan Bergmann <sbergman at redhat.com>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
index 2fc2a246f855..5cf517190550 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx
@@ -1259,7 +1259,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf112287, "tdf112287.docx")
 {
     // tdf#131775: Check if correct spaceing.
 
-    xmlDocPtr pXmlDocument = parseExport("word/document.xml");
+    xmlDocUniquePtr pXmlDocument = parseExport("word/document.xml");
     if (!pXmlDocument)
         return;
 


More information about the Libreoffice-commits mailing list