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

New commits:
commit c6842c2cb84ad6b3151021b537dc5a70da49446f
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue May 12 13:07:14 2020 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@redhat.com>
    Reviewed-by: Stephan Bergmann <sberg...@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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to