[Libreoffice-commits] core.git: sdext/source
Caolán McNamara
caolanm at redhat.com
Sun Mar 18 10:23:45 UTC 2018
sdext/source/pdfimport/tree/drawtreevisiting.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 2980e65d9728cfee73c1c49d64e19af50f756521
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Mar 17 21:18:17 2018 +0000
fix crash on pdf import of fdo30892-1
after
commit a9ef943769b06e6bdffe7326f288b27e08a95698
Date: Wed Feb 28 11:09:43 2018 +0200
loplugin:useuniqueptr in sdext
Change-Id: I964e2319d583455c2c698f895e0b675d69256e38
Reviewed-on: https://gerrit.libreoffice.org/51475
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index d1cbab6fb215..aba49aa0ee0d 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -736,7 +736,6 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
pCur->Children.splice( pCur->Children.end(), pNext->Children );
// get rid of the now useless element
rParent.Children.erase( next );
- delete pNext;
bConcat = true;
}
}
More information about the Libreoffice-commits
mailing list